Module: AbstractController::UrlFor::ClassMethods

Defined in:
lib/abstract_controller/url_for.rb

Instance Method Summary collapse

Instance Method Details

#_routesObject



20
21
22
# File 'lib/abstract_controller/url_for.rb', line 20

def _routes
  nil
end

#action_methodsObject



24
25
26
27
28
29
30
# File 'lib/abstract_controller/url_for.rb', line 24

def action_methods
  @action_methods ||= if _routes
    super - _routes.named_routes.helper_names
  else
    super
  end
end