class Locomotive::Steam::SectionRepository

Public Instance Methods

by_slug(slug) click to toggle source
# File lib/locomotive/steam/repositories/section_repository.rb, line 9
def by_slug(slug)
  first { where(slug: slug) }
end