Class: Admix::BoardRepliesController
- Inherits:
-
InheritedController
- Object
- InheritedController
- Admix::BoardRepliesController
- Defined in:
- app/controllers/admix/board_replies_controller.rb
Instance Method Summary collapse
Instance Method Details
#message_replied ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/admix/board_replies_controller.rb', line 7 def if resource.errors.empty? MessageBoardMailer.(parent).deliver end end |
#report ⇒ Object
13 14 15 16 17 18 19 |
# File 'app/controllers/admix/board_replies_controller.rb', line 13 def report datagrid = @datagrid_class.new(params[:guess_datagrid_params]) datagrid.scope do parent.board_replies end datagrid end |