We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firstly, congratulations for this initiative.
Is there a way for scoping template model like the following?
class ApplicationController < ActionController::Base before_filter :database_template def database_template prepend_view_path DatabaseTemplate.where(theme: current_theme).resolver end def current_theme # find theme picked by user end end
Thanks!
The text was updated successfully, but these errors were encountered:
I've done the following:
class DatabaseTemplate < ActiveRecord::Base store_templates def self.resolver(options={}) Panoramic::Resolver.using scoped, options end end
Sorry, something went wrong.
No branches or pull requests
Firstly, congratulations for this initiative.
Is there a way for scoping template model like the following?
Thanks!
The text was updated successfully, but these errors were encountered: