Fix broken block ignore form.

This commit is contained in:
Thomas Reynolds 2016-11-25 13:58:35 -08:00
parent a680fb30c5
commit e30f413376
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,14 @@
master
===
# 4.1.12
* Fix broken `ignore { |p| true }` form.
# 4.1.11
* Upgrade to Rack 2.
# 4.1.10
* Fix unicode issues in URL deeplinks.

View file

@ -74,7 +74,7 @@ module Middleman
end
end
class BlockIgnoreDescriptor
class BlockIgnoreDescriptor < IgnoreDescriptor
def ignored?(match_path)
block.call(match_path)
end