diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-06 16:52:48 -0400 | 
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-06 16:52:48 -0400 | 
| commit | dd231a335758873dcd9024db7618837094fcc0a5 (patch) | |
| tree | f65a353ff0988e2be5970c29bd6bb7bb4d5c9edf /app/helpers | |
| parent | 2586fba3b8a181289c597071733774b3a406f675 (diff) | |
| download | thoughts-dd231a335758873dcd9024db7618837094fcc0a5.tar.gz thoughts-dd231a335758873dcd9024db7618837094fcc0a5.tar.bz2 thoughts-dd231a335758873dcd9024db7618837094fcc0a5.zip | |
Added page titles
refs #4
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/application_helper.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index de6be79..a8b1c7e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb | |||
| @@ -1,2 +1,7 @@ | |||
| 1 | module ApplicationHelper | 1 | module ApplicationHelper | 
| 2 | |||
| 3 | def title(text) | ||
| 4 | content_for :title, text | ||
| 5 | end | ||
| 6 | |||
| 2 | end | 7 | end | 
