spec/fixtures/project/controller.rb in stasis-0.1.23 vs spec/fixtures/project/controller.rb in stasis-0.2.0.pre
- old
+ new
@@ -39,9 +39,13 @@
before 'before_non_existent.html' do
instead render(:path => '_partial.html.haml')
end
+before 'before_render_locals.html.haml' do
+ instead render(:path => '_locals.html.haml', :locals => { :x => true })
+end
+
# Helpers
helpers do
def helper
:root
\ No newline at end of file