Permalink
Browse files

Open browser in on app start

  • Loading branch information...
1 parent acc2123 commit 056f3fa0093f5a28854db51f1c9f3aa50b2060e5 @mwunsch committed Jun 16, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/tumblr
View
@@ -18,8 +18,9 @@ class TumblrCommand < Thor
desc "authorize", "Authenticate and authorize the cli"
def authorize(*soak)
- `open http://localhost:4567/`
- Tumblr::Authentication.run!
+ Tumblr::Authentication.run! do |server|
+ `open http://localhost:4567/`
+ end
end
end

0 comments on commit 056f3fa

Please sign in to comment.