From cdaf77d8b826592c864cb617f7db4aeaadc1fcbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sede=C3=B1o?= Date: Mon, 22 Feb 2016 22:20:19 +0100 Subject: [PATCH] Add program to event relation in user/show. fix #789 --- app/views/users/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 98352e00..0b172898 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -18,7 +18,7 @@ - @user.events.confirmed.each do |event| %li %h4 - = link_to event.title, conference_proposal_path(event.conference.short_title, event.id) + = link_to event.title, conference_program_proposal_path(event.program.conference.short_title, event.id) %strong at - = event.conference.title \ No newline at end of file + = event.program.conference.title