Skip to content

Commit

Permalink
Merge branch 'release/0.16.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Mar 26, 2017
2 parents af89e24 + e8bd0f6 commit 6e47b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class ApplicationController < ActionController::Base
include DatesHelper

private
PROJECTS = [ 'it-way.pro', 'ul-lider.ru' ]

def redirect_to_another_main_page
PROJECTS = [ 'it-way.pro', 'ul-lider.ru' ]
unless Rails.env.test?
PROJECTS.each do |project|
if request.host.include?(project) && request.path != main_page_of(request.host)
Expand Down

0 comments on commit 6e47b2b

Please sign in to comment.