Module: AbstractController::UrlFor::ClassMethods

Defined in:
lib/abstract_controller/url_for.rb

Instance Method Summary collapse

Instance Method Details

#_routesObject



18
19
20
# File 'lib/abstract_controller/url_for.rb', line 18

def _routes
  nil
end

#action_methodsObject



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

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