diff options
| author | Xinhui | 2016-11-08 16:00:39 +0100 | 
|---|---|---|
| committer | Xinhui | 2016-11-08 16:00:39 +0100 | 
| commit | f07d997e80a59d12c98798da015bae36b3af66d2 (patch) | |
| tree | 2112b8299f92f2ec7aa76922e406726b7f5305c8 /app/models/organisation.rb | |
| parent | 9418590690f14907b87fe22376281bd1bf3cb5a3 (diff) | |
| download | chouette-core-f07d997e80a59d12c98798da015bae36b3af66d2.tar.bz2 | |
MyWorkBenchScopes
Refs #1787
Diffstat (limited to 'app/models/organisation.rb')
| -rw-r--r-- | app/models/organisation.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/organisation.rb b/app/models/organisation.rb index f98de567e..31443d1c7 100644 --- a/app/models/organisation.rb +++ b/app/models/organisation.rb @@ -43,7 +43,7 @@ class Organisation < ActiveRecord::Base      org = Organisation.find_or_initialize_by(code: code)      if scope        org.sso_attributes ||= {} -      org.sso_attributes[:functional_scope] = scope.delete('\\"') +      org.sso_attributes[:functional_scope] = scope      end      org.name      = name      org.synced_at = Time.now  | 
