lib/rhoconnect/controller/js_base.rb in rhoconnect-4.0.0.beta.12 vs lib/rhoconnect/controller/js_base.rb in rhoconnect-4.0.0.beta.24
- old
+ new
@@ -5,11 +5,10 @@
@model.result = return_value
end
end
class JsBase < Rhoconnect::Controller::Base
-
# Add helpers for deprecated routes
Rhoconnect::DefaultServer.helpers Rhoconnect::Controller::JsBaseHelpers
helpers Rhoconnect::Controller::JsBaseHelpers
@@ -38,10 +37,10 @@
private
def self.process_defaults(klass,defaults)
defaults.each do |default|
default.each do |key,val|
- klass.send(:set_default,key,val)
+ klass.send(:set_default,key.to_sym,val)
end
end
end
def self.process_routes(klass,routes)
\ No newline at end of file