Class: Spree::Billing::UsersController
Instance Method Summary
collapse
#collection_url, #current_vendor, #default_url_options, #edit_object_url, #handle_unauthorized_vendor, #page, #per_page, #required_vendor_user!, #set_locale, #switch_vendor, #vendors
#auth_action, #auth_entry, #auth_user, #authorize!, #authorize?, #authorize_admin, #authorize_role!, #redirect_unauthorized_access
Instance Method Details
#index ⇒ Object
4
5
6
7
|
# File 'app/controllers/spree/billing/users_controller.rb', line 4
def index
@search = Spree::User.ransack(params[:q])
@users = @search.result.page(page).per(per_page)
end
|
#model_class ⇒ Object
10
11
12
|
# File 'app/controllers/spree/billing/users_controller.rb', line 10
def model_class
Spree::User
end
|
#object_name ⇒ Object
14
15
16
|
# File 'app/controllers/spree/billing/users_controller.rb', line 14
def object_name
'user'
end
|