Tried to DRY the user_blocks controller. Moved the configuration of the blocking...
authorMatt Amos <zerebubuth@gmail.com>
Wed, 30 Sep 2009 15:44:29 +0000 (15:44 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Wed, 30 Sep 2009 15:44:29 +0000 (15:44 +0000)
commit95c3d640a44857b0b92ec3be6dad606e40057c5c
tree41d6fe76b496385ec6b86ad9bfafaaf054a09354
parentca06b3c7b1a742307e1f6d6b8f809bab2dd0d484
Tried to DRY the user_blocks controller. Moved the configuration of the blocking periods into application.yml.
app/controllers/user_blocks_controller.rb
app/models/user_block.rb
app/views/user_blocks/edit.html.erb
app/views/user_blocks/new.html.erb
config/application.yml
config/locales/en.yml