aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template_handlers/rjs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/template_handlers/rjs.rb')
-rw-r--r--actionpack/lib/action_view/template_handlers/rjs.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/template_handlers/rjs.rb b/actionpack/lib/action_view/template_handlers/rjs.rb
index bd51cc4d39..e4b3d0c2a6 100644
--- a/actionpack/lib/action_view/template_handlers/rjs.rb
+++ b/actionpack/lib/action_view/template_handlers/rjs.rb
@@ -10,6 +10,10 @@ module ActionView
"update_page do |page|\n#{template}\nend"
end
+ def self.compilable?
+ true
+ end
+
def cache_fragment(block, name = {}, options = nil) #:nodoc:
@view.fragment_for(block, name, options) do
begin