Method: NotesController#index
- Defined in:
- lib/generators/jinda/templates/app/controllers/jinda_org/notes_controller.rb
#index ⇒ Object
before_action :xload_current_ma_user, only: [:destroy]
5 6 7 |
# File 'lib/generators/jinda/templates/app/controllers/jinda_org/notes_controller.rb', line 5 def index @notes = Note.desc(:created_at).page(params[:page]).per(10) end |