Module: QueryserversHelper
- Defined in:
- lib/six-updater-web/app/helpers/queryservers_helper.rb
Instance Method Summary collapse
- #exec2_column(record, b = nil) ⇒ Object
- #export_to_preset_column(record, b = nil) ⇒ Object
- #name_column(record, b = nil) ⇒ Object
Instance Method Details
#exec2_column(record, b = nil) ⇒ Object
2 3 4 |
# File 'lib/six-updater-web/app/helpers/queryservers_helper.rb', line 2 def exec2_column(record, b = nil) link_to "Run", "/main/index?commit=exec&gamespy=#{record.id}" end |
#export_to_preset_column(record, b = nil) ⇒ Object
9 10 11 |
# File 'lib/six-updater-web/app/helpers/queryservers_helper.rb', line 9 def export_to_preset_column(record, b = nil) link_to "Export to new Preset", "/queryservers/export/#{record.id}" end |
#name_column(record, b = nil) ⇒ Object
5 6 7 |
# File 'lib/six-updater-web/app/helpers/queryservers_helper.rb', line 5 def name_column(record, b = nil) auto_link record.name if record.name end |