Closed anke1460 closed 9 years ago
My controller has some codes like this:
layout :user theme :some_other, only: [:show]
And i find the other action will not use the user layout when i have defined the theme.
Yeah, surely it does. When you call #theme, it doesn't two things: add before_filter and set layout.
#theme
before_filter
My controller has some codes like this:
And i find the other action will not use the user layout when i have defined the theme.