Class: PostmanMta::NotesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Metal
- ApplicationController
- PostmanMta::NotesController
- Defined in:
- app/controllers/postman_mta/notes_controller.rb
Constant Summary
Constants inherited from ApplicationController
ApplicationController::MODULES
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
3 4 5 |
# File 'app/controllers/postman_mta/notes_controller.rb', line 3 def create render note.create(notes_params) end |
#update ⇒ Object
7 8 9 |
# File 'app/controllers/postman_mta/notes_controller.rb', line 7 def update render note.update(notes_params[:id], notes_params) end |