Permalink
Browse files

Initialise the default hurl with params which allows us to pass in so…

…me defaults and pre-populate the fields.
  • Loading branch information...
1 parent 9ef943a commit 6d57655102f3ae738d9bf58fc678d9cdccfaf878 Ben Pirt committed Dec 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/app.rb
View
@@ -49,7 +49,7 @@ def initialize(*args)
end
get '/' do
- @hurl = {}
+ @hurl = params
mustache :index
end

0 comments on commit 6d57655

Please sign in to comment.