On Wed, Sep 11, 2013 at 7:00 PM, jmcguckin <[email protected]> wrote:
> In a controller action for 'show' is the following: > > render :layout => 'edit' > > Ok, there a layout for edit, basically it is the standard javascript > includes, anti csfr stuff and 'yield'. > > Hmm, what's it yielding to? Which template is it yielding to? There are both > 'edit.html.erb' and 'show.html.erb' templates. It would be yielding to whatever template the controller action would be using. In this case, that would be show.html.erb, since you're in the show action. -Dave -- Dave Aronson, the T. Rex of Codosaurus LLC, secret-cleared freelance software developer taking contracts in or near NoVa or remote. See information at http://www.Codosaur.us/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQihjYOw-JFzo89ig-DB8hB1J1fp9MTUFt25miGjeXYZ12Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

