Dry Users API responders.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4454 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-12-03 11:45:55 +00:00
1 parent e9775097ec
commit ea59d93dc8
2 files changed
+14 -8

No files matched your search

+10
View File
@@ -92,3 +92,13 @@ module I18n
end
end
end
module ActionController
module MimeResponds
class Responder
def api(&block)
any(:xml, :json, &block)
end
end
end
end