mack-javascript 0.8.0 → 0.8.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ module Mack
|
|
23
23
|
def render
|
24
24
|
self.options[:format] = "js"
|
25
25
|
self.controller.response["Content-Type"] = Mack::Utils::MimeTypes[self.options[:format]]
|
26
|
-
x_file = File.join(self.controller_view_path, "#{self.
|
26
|
+
x_file = File.join(self.controller_view_path, "#{self._render_value}.#{self.options[:format]}")
|
27
27
|
render_file(x_file, :js)
|
28
28
|
end
|
29
29
|
|