Module: Hammock::RouteDrawingHooks

Defined in:
lib/hammock/route_drawing_hooks.rb

Defined Under Namespace

Modules: Methods

Constant Summary collapse

MixInto =
ActionController::Routing::RouteSet
Deps =
[LambdaAlias, ModulePatches]

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



6
7
8
9
10
11
12
# File 'lib/hammock/route_drawing_hooks.rb', line 6

def self.included base # :nodoc:
  base.send :include, Methods

  base.class_eval {
    alias_method_chain_once :draw, :hammock_route_map_init
  }
end