Fix broken block ignore form.
This commit is contained in:
parent
a680fb30c5
commit
e30f413376
2 changed files with 9 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -74,7 +74,7 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
class BlockIgnoreDescriptor
|
||||
class BlockIgnoreDescriptor < IgnoreDescriptor
|
||||
def ignored?(match_path)
|
||||
block.call(match_path)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue