Skip to content
Snippets Groups Projects
Commit 8fe21d1d authored by pabois's avatar pabois
Browse files

remove unused scopes

parent 3d31ddad
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,8 @@ class Admin::University::Organizations::CategoriesController < Admin::University
through: :current_university,
through_association: :organizations_categories
has_scope :for_search_term
def index
@categories = apply_scopes(@categories)
@categories = current_university.organizations_categories
.ordered
.page(params[:page])
breadcrumb
......
......@@ -3,11 +3,8 @@ class Admin::University::People::CategoriesController < Admin::University::Appli
through: :current_university,
through_association: :people_categories
has_scope :for_search_term
def index
@categories = apply_scopes(@categories)
@categories = current_university.people_categories
.ordered
.page(params[:page])
breadcrumb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment