Merge pull request #711 from rakibulislam/Typo-Fix

Fix a typo
This commit is contained in:
Sean Linsley 2016-06-06 13:57:37 -04:00
commit 793ead5d5f
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ end
But it makes you a little uncomfortable. `publication_status` lives in a But it makes you a little uncomfortable. `publication_status` lives in a
nebulous namespace spread across all controllers and view. Down the road, you nebulous namespace spread across all controllers and view. Down the road, you
might want to display the publication status of a `Book`. And, of course, your might want to display the publication status of a `Book`. And, of course, your
design calls for a slighly different formatting to the date for a `Book`. design calls for a slightly different formatting to the date for a `Book`.
Now your helper method can either switch based on the input class type (poor Now your helper method can either switch based on the input class type (poor
Ruby style), or you break it out into two methods, `book_publication_status` and Ruby style), or you break it out into two methods, `book_publication_status` and