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