From 68ac430af9989fe4f93075e5bc426f8e2c55cf3d Mon Sep 17 00:00:00 2001 From: Martin Wortschack Date: Tue, 18 Sep 2018 10:43:19 +0200 Subject: Rename helper method --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/helpers/application_helper.rb') diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 7846de9f481..604ddd55ff5 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -13,8 +13,8 @@ module ApplicationHelper lookup_context.exists?(partial, [], true) end - def view_exists?(partial) - lookup_context.exists?(partial, [], false) + def template_exists?(template) + lookup_context.exists?(template, [], false) end # Check if a particular controller is the current one -- cgit v1.2.1