Added routes, display seems to work so long as you remove the forms from the views.
[feedcatcher.git] / config / routes.rb
index 4a837c0969024b8c26ce30d275a9ad026a41608d..4b69b1931435b94c709684c8ad730b920074ac89 100644 (file)
@@ -4,6 +4,11 @@ Feedcatcher::Application.routes.draw do
 
   # 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 '*ignored', to: 'feed#update', as: :update
 
   # Example of regular route:
   #   get 'products/:id' => 'catalog#view'