Skip to content

Commit

Permalink
Fixes issue #426 (site from _ext/pipeline)
Browse files Browse the repository at this point in the history
You can now access `site` from with _ext/pipeline simply by calling
site, which is now a private method of that class.
  • Loading branch information
LightGuard committed Sep 26, 2014
1 parent 99a4416 commit 4988d85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/awestruct/extensions/pipeline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def watch(watched_dirs)
end
end

private
def site
Awestruct::Engine.instance.site
end

end
end
end

0 comments on commit 4988d85

Please sign in to comment.