projects
/
feedcatcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Factories now under test
[feedcatcher.git]
/
config
/
routes.rb
diff --git
a/config/routes.rb
b/config/routes.rb
index 4a837c0969024b8c26ce30d275a9ad026a41608d..8b7c093134888028210fb545f09d55994980fe03 100644
(file)
--- a/
config/routes.rb
+++ b/
config/routes.rb
@@
-4,6
+4,11
@@
Feedcatcher::Application.routes.draw do
# You can have the root of your site routed with "root"
# root 'welcome#index'
# You can have the root of your site routed with "root"
# root 'welcome#index'
+ root 'feed#index'
+
+ get 'index', to: 'feed#index', as: :index
+ get ':feed_name', to: 'feed#show', as: :feed
+ post '', to: 'feed#update', as: :update
# Example of regular route:
# get 'products/:id' => 'catalog#view'
# Example of regular route:
# get 'products/:id' => 'catalog#view'