middleman/middleman — Issue #230: Vars in globbed page blocks
Author: smt
Created: 2012-01-05 21:29:22+00:00
State: open

In 2.0, a variable could be set inside a page block for a set of files:

```ruby
page "/test/*" do
@foo = 'bar'
end
```

This would make `@foo` available to each file in the set.

In 3.0.0.beta.1, this only works for individual page routes, but not in routes for globbed files. Not sure if this was an intentional change.