lib/generators/resty/setup/templates/remote_user.rb in resty-generators-0.7.2 vs lib/generators/resty/setup/templates/remote_user.rb in resty-generators-0.7.3

- old
+ new

@@ -1,5 +1,5 @@ class RemoteUser < ActiveResource::Base - self.site = Rails.application.config.respond_to?(:remote_sso_url) ? Rails.application.config.remote_sso_url : "http://localhost:3000" + self.site = Rails.application.config.respond_to?(:remote_service_url) ? Rails.application.config.remote_service_url : "http://localhost:3000" self.element_name = "user" self.headers['X-SERVICE-TOKEN'] = Rails.application.config.respond_to?(:remote_service_token) ? Rails.application.config.remote_service_token : 'be happy' end