Sha256: cfd0b247bf1ad93c6117aeef8627dfc487c4abcb14924c5362e17b488d40e8db
Contents?: true
Size: 849 Bytes
Versions: 1
Compression:
Stored size: 849 Bytes
Contents
Hubstats::Engine.routes.draw do root to: "pull_requests#index" #sets default root to be the pulls page post "/handler" => "events#handler", :as => :handler resources :deploys, :only => [:create, :index] #routes to both index and to create method get "/metrics" => "repos#dashboard", :as => :metrics #routes to list of repos and stats get "/pulls" => "pull_requests#index", :as => :pulls #routes to list of pulls get "/users" => "users#index", :as => :users #routes to list of users get "/user/:id" => "users#show", :as => :user #routes to specific user's contributions get "/repos" => "repos#dashboard", :as => :repos #routes to list of repos and stats get "/:repo" => "repos#show", :as => :repo #routes to specific repo's stats scope "/:repo", :as => :repo do get '/pull/:id' => "pull_requests#show", :as => :pull end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hubstats-0.3.1 | config/routes.rb |