Class: Users::ProjectsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Users::ProjectsController
- Defined in:
- app/controllers/users/projects_controller.rb
Instance Method Summary collapse
Instance Method Details
#collection ⇒ Object
10 11 12 |
# File 'app/controllers/users/projects_controller.rb', line 10 def collection @projects ||= end_of_association_chain.page(params[:page]).per(10) end |
#index ⇒ Object
6 7 8 |
# File 'app/controllers/users/projects_controller.rb', line 6 def index render layout: false end |