lib/scaffolding_extensions/controller/camping.rb
# Create a route class, and automatically extend it with
# MetaCampingController so scaffold methods can be used directly
# inside of it.
Create a route class, and automatically extend it with
MetaCampingController so scaffold methods can be used directly
inside of it.
Create a route class and automatically extend it with MetaCampingController so scaffold methods can be used directly inside of it .
def scaffold_R(root)
  r = Camping::Controllers::R("(#{root})/?([^/]*)/?([^/]*)")
  r.send(:extend, ScaffoldingExtensions::MetaCampingController)
  r
end
def scaffold_R ( root ) r = Camping :: Controllers :: R ( "(#{root})/?([^/]*)/?([^/]*)" ) r . send ( :extend , ScaffoldingExtensions :: MetaCampingController ) r end
Create a route class, and automatically extend it with
MetaCampingController so scaffold methods can be used directly
inside of it.
Create a route class and automatically extend it with MetaCampingController so scaffold methods can be used directly inside of it .
root
<not_specific>