Skip to content

Commit

Permalink
Lost that route last time we refactored the routes
Browse files Browse the repository at this point in the history
  • Loading branch information
redox committed Mar 27, 2015
1 parent 9198385 commit 6209787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
['about', 'settings', 'help', 'api', 'cool_apps', 'hot', 'show-hn', 'ask-hn', 'polls', 'jobs', 'starred', 'user'].each do |path|
get "/#{path}", controller: 'home', action: 'index'
end
get "/story/:id/:title", controller: 'home', action: 'index'

root 'home#index'
end

0 comments on commit 6209787

Please sign in to comment.