From 73a69250549215a5b4ea5fafa13a904082cd9953 Mon Sep 17 00:00:00 2001 From: Dan Rice Date: Sun, 14 Feb 2016 21:29:43 -0500 Subject: [PATCH] Remove the navigation_link helper --- app/helpers/application_helper.rb | 4 ---- app/views/shared/_navbar.html.erb | 32 +++++++++++++++---------------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index f7b6aeaf..f0c30f64 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -22,10 +22,6 @@ module ApplicationHelper {:class => "container_toggle", :id => id} ) end - def navigation_link(name, options = {}, html_options = nil, *parameters_for_method_reference) - link_to name, options, html_options - end - # Check due date in comparison to today's date Flag up date appropriately with # a 'traffic light' colour code # diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index 1958dfc3..f823c095 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -16,19 +16,19 @@