app controller

This commit is contained in:
2014-11-08 11:17:53 +01:00
parent e7933eb7ad
commit 9f61769425

View File

@@ -21,7 +21,7 @@
else
stored_location_for(resource) || request.referer || root_path
end
end^
end
def get_theme
if ThemesForRails.available_theme_names.include?(params[:theme])
params[:theme]