Merge branch 'master' of github.com:middleman/middleman
This commit is contained in:
commit
e285045fc5
6 changed files with 18 additions and 3 deletions
|
@ -265,7 +265,10 @@ class Middleman::Base
|
|||
# @return [void]
|
||||
def current_path=(path)
|
||||
@_current_path = path
|
||||
@request = ::Thor::CoreExt::HashWithIndifferentAccess.new({ :path => path })
|
||||
@request = ::Thor::CoreExt::HashWithIndifferentAccess.new({
|
||||
:path => path,
|
||||
:params => req ? ::Thor::CoreExt::HashWithIndifferentAccess.new(req.params) : {}
|
||||
})
|
||||
end
|
||||
|
||||
# Initialize the Middleman project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue