Add localhost as name to initfest domains
This commit is contained in:
parent
2180b0ea9f
commit
32c9b6d2bb
|
@ -33,7 +33,8 @@ class ApplicationController < ActionController::Base
|
|||
# TODO: make this get the domain from the database
|
||||
prepend_view_path "lib/initfest/views" if request.host =~ /openfest/
|
||||
prepend_view_path "lib/initfest/views" if request.host =~ /example/
|
||||
prepend_view_path "lib/initfest/views" if request.host =~ /127\.0\.0/
|
||||
prepend_view_path "lib/initfest/views" if request.host =~ /^127\.0\.0/
|
||||
prepend_view_path "lib/initfest/views" if request.host =~ /^localhost$/
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in New Issue