aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns_collections
diff options
context:
space:
mode:
authorXinhui2017-12-01 17:20:05 +0100
committerXinhui2017-12-01 17:20:05 +0100
commit3ae77ab3cdf27a740ffd7feb46b69455cd95bee8 (patch)
tree38fd12f9af861f241e3b1f28731293d5eb3bf324 /app/views/journey_patterns_collections
parent8a1a6f455c9cb3fac1de57daf8e544ee5baaae38 (diff)
downloadchouette-core-3ae77ab3cdf27a740ffd7feb46b69455cd95bee8.tar.bz2
Fix override page header title call multiple time, using flush option
Diffstat (limited to 'app/views/journey_patterns_collections')
-rw-r--r--app/views/journey_patterns_collections/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/journey_patterns_collections/show.html.slim b/app/views/journey_patterns_collections/show.html.slim
index 17a1f3770..834501da3 100644
--- a/app/views/journey_patterns_collections/show.html.slim
+++ b/app/views/journey_patterns_collections/show.html.slim
@@ -1,6 +1,6 @@
- breadcrumb :journey_patterns, @referential, @route
- page_header_content_for @route
-- content_for :page_header_title, t('journey_patterns.index.title', route: @route.name)
+- content_for :page_header_title, t('journey_patterns.index.title', route: @route.name), flush: true
- @journey_patterns.each do |jp|
- jp.errors.each do |error_message|