Module: CanCan::Ability

Defined in:
lib/active_scaffold/bridges/cancan/cancan_bridge.rb

Instance Method Summary collapse

Instance Method Details

#as_action_aliasesObject



12
13
14
15
16
# File 'lib/active_scaffold/bridges/cancan/cancan_bridge.rb', line 12

def as_action_aliases
  alias_action :list, :show_search, :render_field, :to => :read
  alias_action :update_column, :edit_associated, :new_existing, :add_existing, :to => :update
  alias_action :delete, :destroy_existing, :to => :destroy
end