diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-18 16:00:20 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-18 16:00:20 -0500 |
commit | d2ccb852d4e1f6f1b01e43f32213053ae3bef408 (patch) | |
tree | 4923c27ea8714849ea40a85e7ed21fc761f87a53 /actionpack/lib/action_view/template_handlers | |
parent | ef6f6625c91ea789a033799f649e4388e4a71045 (diff) | |
download | rails-d2ccb852d4e1f6f1b01e43f32213053ae3bef408.tar.gz rails-d2ccb852d4e1f6f1b01e43f32213053ae3bef408.tar.bz2 rails-d2ccb852d4e1f6f1b01e43f32213053ae3bef408.zip |
Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler and Compilable stub so plugins will not have to change anything.
Diffstat (limited to 'actionpack/lib/action_view/template_handlers')
-rw-r--r-- | actionpack/lib/action_view/template_handlers/compilable.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/actionpack/lib/action_view/template_handlers/compilable.rb b/actionpack/lib/action_view/template_handlers/compilable.rb deleted file mode 100644 index a0ebaefeef..0000000000 --- a/actionpack/lib/action_view/template_handlers/compilable.rb +++ /dev/null @@ -1,20 +0,0 @@ -module ActionView - module TemplateHandlers - module Compilable - def self.included(base) - base.extend ClassMethod - end - - module ClassMethod - # If a handler is mixin this module, set compilable to true - def compilable? - true - end - end - - def render(template, local_assigns = {}) - @view.send(:execute, template, local_assigns) - end - end - end -end |