[Rails] Re: Is there a Rails3 way to "scope" views?
Daniel Guettler wrote in post #957936:
> Not sure if it's possible in your architecture, but we are working a
> lot with namespaces.
> E.g. you could have a Customs::ShipmentParsChecksController and a
> Customs::SomeOtherController etc. this would group your controllers,
> models and views into related sections.
> Your views then would look like:
> app
> - views
> - customs
> + shipment_pars_checks
> + some_other
>
> Best, Daniel
Thanks. I will look into this. I have not worked with namespaces so I
never thought of that approach.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home