From e03f9dc5fe60967b9720cd820f37e1160e1769ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Thu, 21 Feb 2019 15:57:20 +0100 Subject: [PATCH] Add /conferences/:conference_id/program/proposal/:id We changed this route (because of renaming proposal to proposals in): https://github.com/openSUSE/osem/commit/daf1f805bd16fbf22fbe25f5224dd022b5e082cc Keep the old route for compatibility. Fixes https://github.com/openSUSE/osem/issues/2330 --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/routes.rb b/config/routes.rb index 73db2a2d..c9e0954f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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]