Closed wesbos closed 11 years ago
Fixed with 20374ac
On Thu, Jul 18, 2013 at 10:35 AM, Wes Bos notifications@github.com wrote:
When I try POST to the API with the param name I get this error. Any idea?
ArgumentError - wrong number of arguments (2 for 1): /Volumes/Macintosh HD/wesbos/Dropbox/redhat/web-editor/helpers/repository.rb:115:in
create_branch' /Volumes/Macintosh HD/wesbos/Dropbox/redhat/web-editor/public_app.rb:59:in
block in class:PublicApp' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:1540:incall' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:1540:in
block in compile!' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in[]' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in
block (3 levels) in route!' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:966:inroute_eval' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:950:in
block (2 levels) in route!' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:987:inblock in process_route' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:in
catch' /Users/wesbos/.rvm/gems/ruby-1.9.3-p429@sinatra/gems/sinatra-1.4.3/lib/sinatra/base.rb:985:in `process_route'— Reply to this email directly or view it on GitHubhttps://github.com/awestruct/web-editor/issues/48 .
Jason Porter http://en.gravatar.com/lightguardjp
When I try POST to the API with the param
name
I get this error. Any idea?