class ActionDispatch::Routing::Mapper::Resources::Resource
def available_actions
def available_actions if @only Array(@only).map(&:to_sym) else default_actions end end
def available_actions if @only Array(@only).map(&:to_sym) else default_actions end end