projects
/
depot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a700655c9a8fe5e0662d4f1df0a68b3663387600
[depot.git]
/
rjs.rb
1
module
ActionView
2
module
TemplateHandlers
3
class
RJS
<
TemplateHandler
4
include
Compilable
5
6
def
compile
(
template
)
7
"controller.response.content_type ||= Mime::JS;"
+
8
"update_page do |page|;#{template.source}
\n
end"
9
end
10
end
11
end
12
end