diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2af1d9f..858c451 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -26,7 +26,7 @@ module ApplicationHelper string.lines.map { |l| "#{' ' * width}#{l}" }.join('') end - def category_link(text, url, name) + def link_to_category(text, url, name) opts = {} if name == @current_category diff --git a/app/views/docs/_docs_topics.html.erb b/app/views/docs/_docs_topics.html.erb index 1979f56..6ef6595 100644 --- a/app/views/docs/_docs_topics.html.erb +++ b/app/views/docs/_docs_topics.html.erb @@ -2,15 +2,15 @@ diff --git a/app/views/shared/_browse_categories.html.erb b/app/views/shared/_browse_categories.html.erb index 5e0e616..2fae34b 100644 --- a/app/views/shared/_browse_categories.html.erb +++ b/app/views/shared/_browse_categories.html.erb @@ -2,11 +2,11 @@