Fix broken block ignore form.

master
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 master
=== ===
# 4.1.12
* Fix broken `ignore { |p| true }` form.
# 4.1.11
* Upgrade to Rack 2.
# 4.1.10 # 4.1.10
* Fix unicode issues in URL deeplinks. * Fix unicode issues in URL deeplinks.

View File

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