Sha256: 505f31d088129801cb9df50849a3307fc17d7728eca37f42f0c51606ca6b063c

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

class Something < Sequel::Model
  plugin :aura_sluggable      # Accessible via slug: /about-us/services
  plugin :aura_renderable     # Can show a page when accessed by that URL
  plugin :aura_editable       # Shows up in editor

  form do
    text :title, "Title", :class => 'title main-title'
  end

  def self.show_on_sidebar?; true; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 default/app/models/model.rb.example