Skip to content

Commit

Permalink
fixed subdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismatthieu committed Aug 4, 2012
1 parent 7e73eb8 commit d3bc02a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Expand Up @@ -11,6 +11,7 @@ def current_user
def current_council
# @subdomain = request.env['HTTP_HOST'].split(".")[0].downcase
@subdomain = request.subdomain
puts @subdomain
if @subdomain == "www" or @subdomain == "vivatjes"
# @council = Council.find(1)
@council = nil
Expand Down

0 comments on commit d3bc02a

Please sign in to comment.