Module: Optimacms::FilterHelper
- Defined in:
- app/helpers/optimacms/filter_helper.rb
Class Method Summary collapse
Class Method Details
.for_select_yes_no(title_all) ⇒ Object
4 5 6 7 |
# File 'app/helpers/optimacms/filter_helper.rb', line 4 def self.for_select_yes_no(title_all) a = [[title_all, -1], ["yes", 1], ["no", 0]] a end |