diff --git a/app/models/ability.rb b/app/models/ability.rb index f92c86fd4..9c2051be0 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -9,7 +9,7 @@ class Ability if Rails.env.production? case REGISTRY_ENV - when :eedirect + when :eedirekt can :create, :session admin = false when :admin diff --git a/config/deploy.rb b/config/deploy.rb index 3daf3ec61..932ab9613 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -11,7 +11,7 @@ require 'mina/git' # branch - Branch name to deploy. (needed by mina/git) set :domain, 'testregistry' -set :deploy_to, '/home/app/eedirect' +set :deploy_to, '/home/app/eedirekt' set :repository, 'https://github.com/internetee/registry' set :branch, 'master'