]> git.wincent.com - wikitext.git/commit
Avoid a Rails 3.1 deprecation warning
authorWincent Colaiuta <win@wincent.com>
Sat, 28 May 2011 05:45:03 +0000 (22:45 -0700)
committerWincent Colaiuta <win@wincent.com>
Sat, 28 May 2011 05:45:03 +0000 (22:45 -0700)
commit555cc56d457bde07c0e0e20a1c247a60be09d157
tree4c046cec1fcdfc78e53a6d47315c512c61a4670e
parentd137545e1ff72351ccf7d9e59d6fd30a5bef06b4
Avoid a Rails 3.1 deprecation warning

Specifically:

  DEPRECATION WARNING: Inheriting from ActionView::Template::Handler is
  deprecated. Since Rails 3, all the API your template handler needs to
  implement is to respond to #call.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
lib/wikitext/rails_template_handler.rb