prep 2.0.14
This commit is contained in:
parent
03f17ff551
commit
3cd66cdb25
3 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
2.0.13.1
|
||||
2.0.14
|
||||
====
|
||||
build --clean shouldn't remove dotfiles
|
||||
Minor fix for i18n
|
||||
|
||||
2.0.13
|
||||
====
|
||||
|
|
|
@ -39,6 +39,7 @@ module Middleman::CoreExtensions::Routing
|
|||
def paths_for_url(url)
|
||||
url = url.gsub(%r{\/#{settings.index_file}$}, "")
|
||||
url = url.gsub(%r{(\/)$}, "") if url.length > 1
|
||||
url = "/" if url.length == 0
|
||||
|
||||
paths = [url]
|
||||
paths << "#{url}/" if url.length > 1 && url.split("/").last.split('.').length <= 1
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Middleman
|
||||
VERSION = "2.0.13.1"
|
||||
VERSION = "2.0.14"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue