Module: ShouldaRouting::Resources::Method

Included in:
DSL, Namespaces::DSL, DSL
Defined in:
lib/shoulda_routing/resources/method.rb

Instance Method Summary collapse

Instance Method Details

#resources(*args, &block) ⇒ Object

This method provides a simple way to test the resources routes.



6
7
8
# File 'lib/shoulda_routing/resources/method.rb', line 6

def resources *args, &block
  Resources::Base.new(*args, &block).test!
end