mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-08 18:06:43 +01:00
feat: FiMFetch compat routes
This commit is contained in:
parent
efa9d065e3
commit
9ced0594e1
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
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
|
# Different route name again to match FiMFetch
|
||||||
resources :blogs, only: [:index], path: :news
|
resources :blogs, only: [:index], path: :news
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue