Class: UsersController

Inherits:
InheritedResources::Base
  • Object
show all
Defined in:
app/controllers/users_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



20
# File 'app/controllers/users_controller.rb', line 20

def create; end

#destroyObject

Not supported yet



22
# File 'app/controllers/users_controller.rb', line 22

def destroy; end

#indexObject



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

#newObject

Supported through devise



20
# File 'app/controllers/users_controller.rb', line 20

def new; end

#showObject



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

def show
end