]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/client_application.rb
Rework to ensure views are named after the controller method name
[rails.git] / app / models / client_application.rb
index 5dafaaa5c7afefd4097e30f0d3f7283245dacf92..ae95e2908a286793565915fd8f70577387df39c2 100644 (file)
@@ -67,7 +67,7 @@ class ClientApplication < ActiveRecord::Base
   end
 
   def oauth_server
-    @oauth_server ||= OAuth::Server.new("https://" + SERVER_URL)
+    @oauth_server ||= OAuth::Server.new("https://" + Settings.server_url)
   end
 
   def credentials