app/controllers/djr_controller.rb in djr-0.3.1 vs app/controllers/djr_controller.rb in djr-0.4.0
- old
+ new
@@ -11,10 +11,10 @@
}.uniq.compact.map { |route|
mapped_controllers route
}.compact.join
js << routes.map { |route| mapped_actions route }.compact.join
- render :text => js.to_s
+ render :js => js.to_s
end
private
def mapped_controllers route
\ No newline at end of file