Class: UsersController
- Inherits:
-
InheritedResources::Base
- Object
- InheritedResources::Base
- UsersController
- Defined in:
- app/controllers/users_controller.rb
Instance Method Summary collapse
- #create ⇒ Object
-
#destroy ⇒ Object
Not supported yet.
- #index ⇒ Object
-
#new ⇒ Object
Supported through devise.
- #show ⇒ Object
Instance Method Details
#create ⇒ Object
20 |
# File 'app/controllers/users_controller.rb', line 20 def create; end |
#destroy ⇒ Object
Not supported yet
22 |
# File 'app/controllers/users_controller.rb', line 22 def destroy; end |
#index ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/users_controller.rb', line 6 def index @users = User.alphabetic. letter(params[:letter]). name_search(params[:search]). tagged_with(params[:tag]). page(params[:page]).per(10) end |
#new ⇒ Object
Supported through devise
20 |
# File 'app/controllers/users_controller.rb', line 20 def new; end |
#show ⇒ Object
16 17 |
# File 'app/controllers/users_controller.rb', line 16 def show end |