New issue

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

expand indirect group memberships #90

Closed
wants to merge 14 commits into
base: master
from

support custom_views through compile_template instead to fix issues w…

…ith layout
  • Loading branch information...
S. Brent Faulkner
S. Brent Faulkner committed Feb 8, 2011
commit 52aca0f0e38adacd88369a581b0aeb7bb8f29652
View
@@ -678,10 +678,10 @@ def serialize_extra_attribute(builder, value)
end
end
def render(engine, data, options = {}, locals = {}, &block)
super engine, data, options.merge(:views => settings.config[:custom_views]), locals, &block
def compile_template(engine, data, options, views)
super engine, data, options, settings.config[:custom_views]
rescue Errno::ENOENT
super engine, data, options, locals, &block
super engine, data, options, views
end
end
end
ProTip! Use n and p to navigate between commits in a pull request.