Skip to content
henning-koch edited this page Sep 13, 2010 · 1 revision

It can be useful to alias action names so you can query the same action using multiple verbs. The two default aliases are new => create and edit => update. To define your own aliases:

class Permissions < Aegis::Permissions
  alias_action :read => :show
end

Aliases are global for all actions and resources.