diff options
author | Jeff King <peff@peff.net> | 2022-10-05 13:52:12 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-05 16:28:15 +0300 |
commit | dc10b4fd5fa44c193113fd58b42cfa4d9790c72a (patch) | |
tree | 09ade8cf14196ec61f081e118e6100fb4ee6fd1f | |
parent | e740c000db66f60307d81de581afb15d40703021 (diff) |
appease rubocop Naming/AccessorMethodName
-rw-r--r-- | app/controllers/about_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb index b181e9c8..5b166533 100644 --- a/app/controllers/about_controller.rb +++ b/app/controllers/about_controller.rb @@ -3,6 +3,6 @@ class AboutController < ApplicationController def index @section = "about" - set_title "About" + title "About" end end diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index bdaa0045..cd003fcb 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -13,7 +13,7 @@ class ApplicationController < ActionController::Base @os = "linux" end - def set_title(title) + def title(title) @page_title = "#{title} - Git" end |