From 6113401eb0d77b039856e67c8475cd9e17d8f1f1 Mon Sep 17 00:00:00 2001 From: Priit Tamboom Date: Wed, 8 Oct 2014 16:10:48 +0300 Subject: [PATCH] Added correct REGISTRY_ENV as eedirekt --- app/models/ability.rb | 2 +- config/deploy.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'