Module: Meta::Rails::Plugin::ClassMethods

Defined in:
lib/meta/rails.rb

Instance Method Summary collapse

Instance Method Details

#route(path = '', method = :all, &block) ⇒ Object



92
93
94
# File 'lib/meta/rails.rb', line 92

def route(path = '', method = :all, &block)
  @current_route_builder = RouteDSL::RouteBuilder.new(path, method, &block)
end