Renames Legislation model to LegacyLegislation

Renames the model and related stuff from Legislation 
to LegacyLegislation to avoid name clashes with 
the future Legislation module.
This commit is contained in:
Amaia Castro
2016-11-17 15:03:58 +01:00
parent 9e5a55be68
commit 9a9f1da5a0
17 changed files with 79 additions and 77 deletions

View File

@@ -79,7 +79,7 @@ Rails.application.routes.draw do
resources :stats, only: [:index]
resources :legislations, only: [:show]
resources :legacy_legislations, only: [:show], path: 'legislations'
resources :annotations do
get :search, on: :collection