Fixed an undefined method error in SearchController #89

wants to merge 1 commit into

1 participant


In Rails 3.2 when I try to visit /admin_data I get the following error:

NameError in AdminData::SearchController#quick_search

undefined local variable or method `get_class_from_params' for #AdminData::SearchController:0x007fe18dbd25d8

Adding the AdminData:: namespace to the inheritance fixed this issue.

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