mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
Add /conferences/:conference_id/program/proposal/:id
We changed this route (because of renaming proposal to proposals in):
daf1f805bd
Keep the old route for compatibility.
Fixes https://github.com/openSUSE/osem/issues/2330
This commit is contained in:
parent
ab3b50ac4f
commit
e03f9dc5fe
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ Osem::Application.routes.draw do
|
|||
end
|
||||
end
|
||||
resource :program, only: [] do
|
||||
get 'proposal/:id', to: 'proposals#show' # For backward compatibility
|
||||
resources :proposals, except: :destroy do
|
||||
get 'commercials/render_commercial' => 'commercials#render_commercial'
|
||||
resources :commercials, only: [:create, :update, :destroy]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue