allow plural routes for feeds and statuses
This commit is contained in:
parent
6ed3010105
commit
f76edc6e53
@ -26,8 +26,10 @@ Thingspeak::Application.routes.draw do
|
|||||||
# nest feeds into channels
|
# nest feeds into channels
|
||||||
resources :channels do
|
resources :channels do
|
||||||
resources :feed
|
resources :feed
|
||||||
|
resources :feeds, :to => 'feed'
|
||||||
resources :api_keys
|
resources :api_keys
|
||||||
resources :status
|
resources :status
|
||||||
|
resources :statuses, :to => 'statuses'
|
||||||
resources :charts
|
resources :charts
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user