diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 7068422..c64a843 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -407,10 +407,11 @@ module ApplicationHelper nil end - def theme_include(template) + def theme_include(template, options = {}) file = theme_view_file(template) + options.merge!({:file => file, :use_full_path => false}) if file - render :file => file, :use_full_path => false + render options else nil end -- libgit2 0.21.2