Displaying 1 result from an estimated 1 matches for "reports_forms".
2006 Feb 23
5
layouts
...9;'t have any model
or tables.
I wanted to use a menu/layout structure similar to all my other
models/controllers and added a layout named reports which then gives me
the menu/layout structure but is also now part of all my reports.
That isn''t gonna work so I renamed reports.rhtml to reports_forms.rhtml
(still inside my layouts directory) and then I created a model called
report.rb and inside it...
def forms
render :action => "forms", :layout :=> "reports_forms"
def
but that doesn''t work either.
How can I have a controller or view that selectively uses...