Skip to content

Commit

Permalink
added repos and commits5
Browse files Browse the repository at this point in the history
  • Loading branch information
Topher committed Aug 15, 2010
1 parent 470953a commit 51d9413
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/repositories_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def create

@repository = Repository.find_by_url(push["pusher"]['repository']['url'])


if @repository

else
Expand Down
11 changes: 11 additions & 0 deletions log/development.log
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,14 @@ Processing RepositoriesController#index (for 127.0.0.1 at 2010-08-15 08:56:09) [
Rendering template within layouts/application
Rendering repositories/index
Completed in 11ms (View: 6, DB: 1) | 200 OK [http://localhost/]
SQL (0.1ms) SET NAMES 'utf8'
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0


Processing ApplicationController#index (for 127.0.0.1 at 2010-08-15 09:31:10) [POST]
Parameters: {"payload"=>"{\"pusher\":{\"email\":\"chris@matthieu.us\",\"name\":\"chrismatthieu\"},\"after\":\"470953a52f032df605602aa3f452fbce90b184f5\",\"repository\":{\"has_downloads\":true,\"description\":\"Adhearsion component library\",\"pushed_at\":\"2010/08/15 09:31:09 -0700\",\"has_wiki\":true,\"fork\":false,\"forks\":0,\"open_issues\":0,\"private\":false,\"watchers\":1,\"has_issues\":true,\"owner\":{\"email\":\"chris@matthieu.us\",\"name\":\"chrismatthieu\"},\"url\":\"http://github.com/chrismatthieu/ahnhub\",\"name\":\"ahnhub\",\"created_at\":\"2010/08/14 11:54:20 -0700\",\"homepage\":\"http://ahnhub.com\"},\"forced\":false,\"ref\":\"refs/heads/master\",\"commits\":[{\"message\":\"added repos and commits4\",\"removed\":[],\"modified\":[\"app/controllers/repositories_controller.rb\"],\"url\":\"http://github.com/chrismatthieu/ahnhub/commit/470953a52f032df605602aa3f452fbce90b184f5\",\"timestamp\":\"2010-08-15T09:31:03-07:00\",\"added\":[],\"id\":\"470953a52f032df605602aa3f452fbce90b184f5\",\"author\":{\"email\":\"topher@topher.local\",\"name\":\"Topher\"}}],\"compare\":\"http://github.com/chrismatthieu/ahnhub/compare/8a54af1...470953a\",\"before\":\"8a54af1819c983e7d498b8f927d31b5615ff5d50\"}"}

ActionController::RoutingError (No route matches "/repository" with {:method=>:post}):


Rendering rescues/layout (not_found)

0 comments on commit 51d9413

Please sign in to comment.