Permalink
Browse files

1.9

  • Loading branch information...
1 parent 1c72dda commit bf34e93f15ab1772b6c2dacd2083ba529373922f @rkh committed Aug 17, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 example.rb
View
@@ -29,8 +29,9 @@ def inc_counter
haml :index
end
+# /hello?name=world
get '/hello' do
- erb :hello, :locals => { :name => params[:name] }
+ erb :hello, locals: { name: params[:name] }
end
get '/counter' do

0 comments on commit bf34e93

Please sign in to comment.