Displaying 1 result from an estimated 1 matches for "clientuserscontroller".
2012 Aug 30
4
how to change theme in rails 3.2.7
...elect one theme. Now when the
user will login that theme will display. I will use handle
bar(http://handlebarsjs.com/) for data insertion.
My main problem is that how I''ll load the theme from public/themes
folder to the user after login.
My controller is below after user login
class ClientUsersController < ApplicationController
def index
end
end
Right now when user login he will redirect to index method and
index.html.erb data display to him with application.html.erb layout.
So how I will display the theme instead of application layout.
--
Posted via http://www.ruby-forum.com...