Class: Client::ProfilesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Client::ProfilesController
- Defined in:
- app/controllers/client/profiles_controller.rb
Instance Method Summary collapse
- #create ⇒ Object
- #destroy ⇒ Object
- #edit ⇒ Object
- #index ⇒ Object
- #new ⇒ Object
- #show ⇒ Object
- #update ⇒ Object
Instance Method Details
#create ⇒ Object
21 22 23 |
# File 'app/controllers/client/profiles_controller.rb', line 21 def create end |
#destroy ⇒ Object
29 30 31 |
# File 'app/controllers/client/profiles_controller.rb', line 29 def destroy end |
#edit ⇒ Object
18 19 |
# File 'app/controllers/client/profiles_controller.rb', line 18 def edit end |
#index ⇒ Object
8 9 10 |
# File 'app/controllers/client/profiles_controller.rb', line 8 def index @profile = current_user.profiles.paginate(page: params[:page, per_page: 10]) end |
#new ⇒ Object
12 13 |
# File 'app/controllers/client/profiles_controller.rb', line 12 def new end |
#show ⇒ Object
15 16 |
# File 'app/controllers/client/profiles_controller.rb', line 15 def show end |
#update ⇒ Object
25 26 27 |
# File 'app/controllers/client/profiles_controller.rb', line 25 def update end |