aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTeddy Wing2017-07-07 18:25:48 +0200
committerTeddy Wing2017-07-12 11:06:03 +0200
commitc7ceb38801b853154cdae31672ff2c105c8b191f (patch)
tree4fa3d8c5d1a6ed3c3ffd9af9655b5fadb5ee6eb1 /config
parenta6a3122bf1d2c2f6fc6b0f27b25b14da16a9b976 (diff)
downloadchouette-core-c7ceb38801b853154cdae31672ff2c105c8b191f.tar.bz2
Remove ReferentialLines#index
Delete this route and associated template files. Wasn't sure if using `exclude:` in the routes file was the best way to do this, as I'm not sure if there are other routes we want to exclude from here also. I visited the page because I'm migrating templates to the new table builder helper and this one uses table builder. Upon visiting the page, it looked pretty wonky, and after consulting with Jean-Paul and Luc, it turns out this page isn't used any more because the table of `Chouette::Line`s rendered there is now instead displayed on the Referentials#show page, obviating the need for this page. Refs #3479
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f75578106..aa6713857 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -99,7 +99,7 @@ ChouetteIhm::Application.routes.draw do
resources :networks, controller: "referential_networks"
match 'lines' => 'lines#destroy_all', :via => :delete
- resources :lines, controller: "referential_lines" do
+ resources :lines, controller: "referential_lines", except: :index do
resource :footnotes, controller: "line_footnotes"
delete :index, on: :collection, action: :delete_all
collection do