New migration to add better auditing to user_roles and better column names there...
authorMatt Amos <zerebubuth@gmail.com>
Tue, 29 Sep 2009 16:44:03 +0000 (16:44 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Tue, 29 Sep 2009 16:44:03 +0000 (16:44 +0000)
commitca06b3c7b1a742307e1f6d6b8f809bab2dd0d484
tree552f0bfcfd67e0c81b883195fa27cc55031985ce
parent09c5740b5bb94c75a5c8c83cdbb80ae7b5ccbdf4
New migration to add better auditing to user_roles and better column names there and on user_blocks. Added a helper for displaying block status messages.
15 files changed:
app/controllers/user_blocks_controller.rb
app/controllers/user_roles_controller.rb
app/helpers/user_blocks_helper.rb [new file with mode: 0644]
app/models/user.rb
app/models/user_block.rb
app/views/user_blocks/_block.html.erb
app/views/user_blocks/_blocks.html.erb
app/views/user_blocks/blocks_by.html.erb
app/views/user_blocks/blocks_on.html.erb
app/views/user_blocks/index.html.erb
app/views/user_blocks/revoke.html.erb
app/views/user_blocks/show.html.erb
config/locales/en.yml
db/migrate/046_alter_user_roles_and_blocks.rb [new file with mode: 0644]
test/fixtures/user_roles.yml