module CmAdmin::ApplicationHelper
def action(action_name)
def action(action_name) case action_name.to_sym when :update return :edit when :create return :new else return action_name.to_sym end end
def action(action_name) case action_name.to_sym when :update return :edit when :create return :new else return action_name.to_sym end end