Class: Refinery::Stores::Store

Inherits:
Core::BaseModel
  • Object
show all
Defined in:
app/models/refinery/stores/store.rb

Class Method Summary collapse

Class Method Details

.select_listObject


select_list – returns an html select list suitable for selecting a store




17
18
19
# File 'app/models/refinery/stores/store.rb', line 17

def self.select_list()
   all.map{ |x| [x.name, x.id] }
end