1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Merge pull request #487 from trevor/indepedant

1byte indent fix
This commit is contained in:
Konstantin Haase 2012-03-15 00:59:49 -07:00
commit ac3a7fd47f

View file

@ -1177,7 +1177,7 @@ module Sinatra
set(:public_folder, value)
end
private
private
# Condition for matching host name. Parameter might be String or Regexp.
def host_name(pattern)
condition { pattern === request.host }