I'm using rails 3.2.7.
I have few themes in my public/themes folder.
For example in my theme-1 folder
there is one index.html + style.css + few images (if required)
At the time of registration user will select 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
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.