From abe3366e5e7b51c1129db45ded9ec6a7407b3efd Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Tue, 11 Oct 2016 04:33:22 +0300 Subject: [PATCH] Fix links in conference summary --- app/views/management/conferences/show.html.slim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/management/conferences/show.html.slim b/app/views/management/conferences/show.html.slim index 0b4d8f6..04a26d7 100644 --- a/app/views/management/conferences/show.html.slim +++ b/app/views/management/conferences/show.html.slim @@ -48,7 +48,7 @@ = @conference.events.joins(:proposition).rejected.count div = t 'event_states.rejected', count: @conference.events.joins(:proposition).rejected.count - = link_to [:management, @conference, :events, {status: :rejected}] + = link_to management_conference_events_path(@conference, filters: {status: 2}) .panel-footer.text-danger span.pull-left = t 'views.conference.see_details' span.pull-right = icon 'arrow-circle-right' @@ -65,7 +65,7 @@ = @conference.events.joins(:proposition).approved.count div = t 'event_states.approved', count: @conference.events.joins(:proposition).approved.count - = link_to [:management, @conference, :events, {status: :approved}] + = link_to management_conference_events_path(@conference, filters: {status: 1}) .panel-footer.text-info span.pull-left = t 'views.conference.see_details' span.pull-right = icon 'arrow-circle-right' @@ -81,7 +81,7 @@ = @conference.events.joins(:proposition).approved.confirmed.count div = t 'event_states.confirmed', count: @conference.events.joins(:proposition).approved.confirmed.count - = link_to [:management, @conference, :events, {status: :approved, confirmed: true}] + = link_to '#' .panel-footer.text-success span.pull-left = t 'views.conference.see_details' span.pull-right = icon 'arrow-circle-right'