Class: Editorial::UsersController
- Inherits:
-
AdminController
- Object
- AdminController
- Editorial::UsersController
- Includes:
- ToggleableEntity
- Defined in:
- app/controllers/editorial/users_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
get /editorial/users.
-
#show ⇒ Object
get /editorial/users/:id.
Instance Method Details
#index ⇒ Object
get /editorial/users
8 9 10 11 12 |
# File 'app/controllers/editorial/users_controller.rb', line 8 def index site_id = ENV['SITE_ID'].to_i @search = param_from_request(:q) @collection = User.where(site_id: site_id).page_for_administration current_page, @search end |
#show ⇒ Object
get /editorial/users/:id
15 16 |
# File 'app/controllers/editorial/users_controller.rb', line 15 def show end |