projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
40712213da19303e9887e4b75c33e0c9cd0ee511
[cs356-p2-videostore.git]
/
app
/
helpers
/
application_helper.rb
1
# Methods added to this helper will be available to all templates in the application.
2
module ApplicationHelper
3
4
# Convert true and false to "Yes" and "No"
5
def tf_to_yesno(value)
6
return value ? "Yes" : "No"
7
end
8
9
end