class Feature

Constants

IMAGE_TYPES
LAYOUTS
TYPES

Public Instance Methods

set_order() click to toggle source
# File lib/buweb/feature.rb, line 68
def set_order
  self.order ||= Feature.where(feature_location_id: feature_location_id).count + 1
end
to_s() click to toggle source
# File lib/buweb/feature.rb, line 72
def to_s
  title
end