Class: Editorial::UsersController

Inherits:
AdminController
  • Object
show all
Includes:
ToggleableEntity
Defined in:
app/controllers/editorial/users_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

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

#showObject

get /editorial/users/:id



15
16
# File 'app/controllers/editorial/users_controller.rb', line 15

def show
end