Katello/katello — pull request #1768 by daviddavis (2013-04-29 18:58:23+00:00)
Title: Double Render Error when accessing certain pages when logged out

Steps to reproduce:

- Log out of katello
- Try to access /katello/content_view_definitions

Expected to be redirected to login, instead get a double render error. The cause seems to be that we define a 'status' method in ContentViewDefinitionController which is overriding some base 'status' method in the base controller class.

/katello/changesets is another UI page that does this. There are other index-y pages:

[jlsherri@dhcp231-16 src]$ grep 'def status' app/controllers/ -R
app/controllers/api/ping_controller.rb: def status
app/controllers/system_packages_controller.rb: def status
app/controllers/system_group_events_controller.rb: def status
app/controllers/distributor_events_controller.rb: def status
app/controllers/system_group_packages_controller.rb: def status
app/controllers/system_group_errata_controller.rb: def status
app/controllers/system_events_controller.rb: def status
app/controllers/content_view_definitions_controller.rb: def status_foo
app/controllers/system_errata_controller.rb: def status
app/controllers/changesets_controller.rb: def status