123456789_123456789_123456789_123456789_123456789_

Module: AbstractController::UrlFor::ClassMethods

Relationships & Source Files
Defined in: actionpack/lib/abstract_controller/url_for.rb

Instance Method Summary

Instance Method Details

#_routes

[ GitHub ]

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

def _routes
  nil
end

#action_methods

[ GitHub ]

  
# File 'actionpack/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