diff --git a/config/routes.rb b/config/routes.rb index 58c8b84..ec89ae6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -16,6 +16,10 @@ Rails.application.routes.draw do end end + # Routes for compat with FiMFetch + get '/story/:id/:ignored0' => 'stories#show' + get '/story/:story_id/:ignored0/chapter/:id/:ignored1' => 'chapters#show' + # Different route name again to match FiMFetch resources :blogs, only: [:index], path: :news end