Permalink
Browse files

Removing references to :locals options for Stasis::Server and Stasis:…

…:Render
  • Loading branch information...
1 parent de35fd7 commit 0a4acc8c0df542ff8a77f64e1d30c0cea7096c81 @winton committed Aug 26, 2011
Showing with 0 additions and 6 deletions.
  1. +0 −4 README.md
  2. +0 −1 lib/stasis/plugins/render.rb
  3. +0 −1 lib/stasis/server.rb
View
@@ -225,10 +225,6 @@ Render a specific template or directory:
stasis.render('index.html.haml', 'subdirectory')
-Define local variables for `before` callbacks, views, and `helpers`:
-
- stasis.render(:locals => { :x => 'y' })
-
More
----
@@ -18,7 +18,6 @@ def render(path_or_options={}, options={}, &block)
end
callback = options[:callback]
- locals = options[:locals]
path = options[:path]
scope = options[:scope]
text = options[:text]
View
@@ -24,7 +24,6 @@ def initialize(root, options={})
params = request['paths'] + [
{
:collect => request['return'],
- :locals => request['locals'],
:write => request['write']
}
]

0 comments on commit 0a4acc8

Please sign in to comment.