diff options
| author | Teddy Wing | 2018-01-25 12:39:52 +0100 | 
|---|---|---|
| committer | Zog | 2018-01-25 17:18:03 +0100 | 
| commit | c9e5f4e5ab03c0d8e4ff65e72b8c77260cba9c20 (patch) | |
| tree | 90564f7bfc98e8e3bfe9822cb38fadebcb3ab64a /app/views/referential_stop_areas | |
| parent | 6a00c37a43648fdeee5d6eceb92b52986e06bb31 (diff) | |
| download | chouette-core-c9e5f4e5ab03c0d8e4ff65e72b8c77260cba9c20.tar.bz2 | |
StopPointDecorator: Convert to new action links interface
Subtleties were that the links need to reference `StopArea`s. In
particular, the `edit` link goes to the `StopAreaReferential` path
instead of the referential-StopArea path.
Refs #5586
Diffstat (limited to 'app/views/referential_stop_areas')
| -rw-r--r-- | app/views/referential_stop_areas/show.html.slim | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/app/views/referential_stop_areas/show.html.slim b/app/views/referential_stop_areas/show.html.slim index 0470b4654..cb04ab7a6 100644 --- a/app/views/referential_stop_areas/show.html.slim +++ b/app/views/referential_stop_areas/show.html.slim @@ -1,14 +1,5 @@  - breadcrumb :referential_stop_area, @referential, @stop_area  - page_header_content_for @stop_area -- content_for :page_header_content do -  .row -    .col-lg-12.text-right.mb-sm -      - @stop_area.action_links.each do |link| -        = link_to link.href, -            method: link.method, -            data: link.data, -            class: 'btn btn-primary' do -              = link.content  .page_content    .container-fluid | 
