Class: Texter::TextsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Texter::TextsController
- Defined in:
- app/controllers/texter/texts_controller.rb
Instance Method Summary collapse
Instance Method Details
#edit ⇒ Object
8 9 |
# File 'app/controllers/texter/texts_controller.rb', line 8 def edit end |
#update ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'app/controllers/texter/texts_controller.rb', line 11 def update RunPreprocessorsOnText.call(@text) if @text.save render :update else render :edit end end |