Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

load_and_authorize_resource doesn't work in namespaced controllers #3

Closed
erikdahlstrand opened this Issue Nov 17, 2009 · 2 comments

Comments

Projects
None yet
2 participants
class Admin::ItemColorsController < Admin::BaseController
  before_filter :load_and_authorize_resource

... results in

NameError in Admin/item colorsController#index

`@admin/item_color' is not allowed as an instance variable name
Owner

ryanb commented Nov 17, 2009

fixing behavior of load_and_authorize_resource for namespaced controllers - closed by 15a01a5

Thanks Ryan! Looking forward to see the progress of this gem.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment