On Wed, Oct 18, 2017 at 4:23 AM, tom <[email protected]> wrote:
> the function aka method does not get called.
> if I insert a print or something nothing shows in the log.
>
> I assumed you can set layout in application controller....

You absolutely can.

Aside from the misspelling and the nonsense "condition" your method
should work (be called); what happens if you change e.g.

  layout :resolvelayout

to

  layout :b0rk3d

You should get an error for an "undefined local variable or method".

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
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/CACmC4yD_F0t-Dns492-DVszgFBuN1De3QF9a7W30QXYNNxzeKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to