Module: ActiveScaffold::Actions::Kanban

Defined in:
lib/active_scaffold/actions/kanban.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
# File 'lib/active_scaffold/actions/kanban.rb', line 6

def self.included(base)
  base.before_action :setup_kanban
  base.after_action :reorder_cards, only: :update_column
  base.after_action :set_error_status_code, only: [:update_column, :reorder]
end