diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2018-09-18 10:43:19 +0200 |
---|---|---|
committer | Martin Wortschack <mwortschack@gitlab.com> | 2018-09-18 10:43:19 +0200 |
commit | 68ac430af9989fe4f93075e5bc426f8e2c55cf3d (patch) | |
tree | 52c99b3f7e9b30e4af226fb7cd37262d8d537403 /app/helpers/application_helper.rb | |
parent | cecb0fdd7a0342574c134cd3ed9475debbfa3133 (diff) | |
download | gitlab-ce-68ac430af9989fe4f93075e5bc426f8e2c55cf3d.tar.gz |
Rename helper method
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |