Module: AbstractController::UrlFor::ClassMethods

Defined in:
lib/abstract_controller/url_for.rb

Instance Method Summary collapse

Instance Method Details

#_routesObject



22
23
24
# File 'lib/abstract_controller/url_for.rb', line 22

def _routes
  nil
end

#action_methodsObject



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

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