- Updated single quotes to double quotes for consistency - Adjusted spacing in array definitions for better readability - Ensured consistent use of quotes in flash messages and method parameters These changes enhance the overall code style without altering any functionality.
11 lines
219 B
Ruby
11 lines
219 B
Ruby
module ApplicationHelper
|
|
def full_title(page_title = "")
|
|
base_title = "Ruby on Rails Tutorial Sample App"
|
|
if page_title.empty?
|
|
base_title
|
|
else
|
|
page_title + " | " + base_title
|
|
end
|
|
end
|
|
end
|