Adds a pseudo format to api template names and overrides ActionController#default_template so that api templates are chosen automatically.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4466 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+1
-1
@@ -230,4 +230,4 @@ Redmine::WikiFormatting.map do |format|
|
||||
format.register :textile, Redmine::WikiFormatting::Textile::Formatter, Redmine::WikiFormatting::Textile::Helper
|
||||
end
|
||||
|
||||
ActionView::Template.register_template_handler :apit, Redmine::Views::ApiTemplateHandler
|
||||
ActionView::Template.register_template_handler :rsb, Redmine::Views::ApiTemplateHandler
|
||||
|
||||
Reference in New Issue
Block a user