Module: AbstractController::UrlFor::ClassMethods

Defined in:
lib/abstract_controller/url_for.rb

Instance Method Summary collapse

Instance Method Details

#_routesObject



24
25
26
# File 'lib/abstract_controller/url_for.rb', line 24

def _routes
  nil
end

#action_methodsObject



28
29
30
31
32
33
34
# File 'lib/abstract_controller/url_for.rb', line 28

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