Module: SimpleUser::ApplicationHelper
- Defined in:
- app/helpers/simple_user/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#link_to_login(label = "Login", options = {}) ⇒ Object
8 9 10 |
# File 'app/helpers/simple_user/application_helper.rb', line 8 def link_to_login(label = "Login", = {}) link_to label, my_engine.new_user_session_path, end |
#print_yes_or_no(value) ⇒ Object
4 5 6 |
# File 'app/helpers/simple_user/application_helper.rb', line 4 def print_yes_or_no(value) value ? "Yes" : "No" end |