mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
require 'builder'
|
||||
|
||||
module Redmine
|
||||
module Views
|
||||
module Builders
|
||||
@@ -29,7 +31,7 @@ module Redmine
|
||||
end
|
||||
|
||||
def method_missing(sym, *args, &block)
|
||||
if args.size == 1 && args.first.is_a?(Time)
|
||||
if args.size == 1 && args.first.is_a?(::Time)
|
||||
__send__ sym, args.first.xmlschema, &block
|
||||
else
|
||||
super
|
||||
|
||||
Reference in New Issue
Block a user