Module: Lentil::ThisorthatHelper
- Defined in:
- app/helpers/lentil/thisorthat_helper.rb
Instance Method Summary collapse
Instance Method Details
#battle_link_action ⇒ Object
11 12 13 14 15 16 17 |
# File 'app/helpers/lentil/thisorthat_helper.rb', line 11 def battle_link_action if params[:action] == "battle" :battle_leaders else params[:action] == "battle_leaders" :battle end end |
#battle_link_name ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/helpers/lentil/thisorthat_helper.rb', line 3 def battle_link_name if params[:action] == "battle" "Battle Leaders" else params[:action] == "battle_leaders" "Battle" end end |