From d1d75e97a4c2c6c09b9c96a1700adf22e6e8e09e Mon Sep 17 00:00:00 2001 From: Chrisbr Date: Wed, 28 May 2014 13:31:42 +0200 Subject: [PATCH] Removes new conference link form loop --- app/views/layouts/_admin_sidebar.html.haml | 8 ++++---- app/views/layouts/_admin_sidebar_index.html.haml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/layouts/_admin_sidebar.html.haml b/app/views/layouts/_admin_sidebar.html.haml index 4aece61a..11cebd56 100644 --- a/app/views/layouts/_admin_sidebar.html.haml +++ b/app/views/layouts/_admin_sidebar.html.haml @@ -15,10 +15,10 @@ %span.glyphicon.glyphicon-cog Manage = conference.short_title - %li - = link_to(new_admin_conference_path) do - %span.glyphicon.glyphicon-plus - New Conference + %li + = link_to(new_admin_conference_path) do + %span.glyphicon.glyphicon-plus + New Conference %hr %li{:class=> active_nav_li(admin_conference_registrations_path(@conference.short_title))} = link_to(admin_conference_registrations_path(@conference.short_title)) do diff --git a/app/views/layouts/_admin_sidebar_index.html.haml b/app/views/layouts/_admin_sidebar_index.html.haml index 6d18d7c5..a8c3807b 100644 --- a/app/views/layouts/_admin_sidebar_index.html.haml +++ b/app/views/layouts/_admin_sidebar_index.html.haml @@ -15,10 +15,10 @@ %span.glyphicon.glyphicon-cog Manage = conference.short_title - %li - = link_to(new_admin_conference_path) do - %span.glyphicon.glyphicon-plus - New Conference + %li + = link_to(new_admin_conference_path) do + %span.glyphicon.glyphicon-plus + New Conference %hr %li = link_to(admin_users_path) do