Class: Workflowable::ActionsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Workflowable::ActionsController
- Defined in:
- app/controllers/workflowable/actions_controller.rb
Instance Method Summary collapse
Instance Method Details
#options ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 |
# File 'app/controllers/workflowable/actions_controller.rb', line 21 def action = Action.new(action_plugin: params[:action_plugin]) @options = action. respond_to do |format| format.json { render json: @options } format.js end end |