Module: Perfectline::LocaleRouting::LocaleRouteSet
- Defined in:
- lib/locale_routing/locale_route_set.rb
Overview
module containing methods for RouteSet extending
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/locale_routing/locale_route_set.rb', line 6 def self.included(base) base.send(:include, InstanceMethods) base.alias_method_chain(:recognize_path, :locale) base.alias_method_chain(:generate, :locale) base.alias_method_chain(:extract_request_environment, :locale) end |