Edgar Gonzalez
2006-Aug-17 20:37 UTC
[Rails] How to know in the layout what view was rendered?
Hi, Is a way to know in the layout what view was rendered? -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez@gmail.com --
Ross Riley
2006-Aug-18 08:07 UTC
[Rails] How to know in the layout what view was rendered?
I''m not sure whether this is what you mean, but you can access params[:action] from the layout. Ross On 8/17/06, Edgar Gonzalez <edgargonzalez@gmail.com> wrote:> Hi, > > Is a way to know in the layout what view was rendered? > > -- > Edgar Gonz?lez Gonz?lez > E-mail: edgargonzalez@gmail.com > -- > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Ross Riley riley.ross@gmail.com
Apparently Analagous Threads
- validates_unlike plugin
- Specs don''t find modules when using the secure_actions or ssl_requirement plugin
- Problem with GetText 1.6.0 - undefined method ''N_''
- FeedValidator :: validating feeds RSS or ATOM
- How to spec routes for a resource nested in multiples resources?