mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-12 03:10:01 +01:00
close #88 white edges for EXIF=6, tests passing
This commit is contained in:
@@ -23,7 +23,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def check_subdomain
|
||||
if request.subdomain.present?
|
||||
if request.subdomain.present? && Rails.env != 'test'
|
||||
redirect_to 'http://' + request.domain + request.port_string + request.fullpath
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user