Sha256: b1bd5f459be3973704965eba209d5d0dea5a2d56315dc813ba90ee56e01c77ec

Contents?: true

Size: 305 Bytes

Versions: 20

Compression:

Stored size: 305 Bytes

Contents

module Enjoy
  if Enjoy.active_record?
    class News < ActiveRecord::Base
    end
  end

  class News
    include Enjoy::Models::News

    include Enjoy::Decorators::News

    rails_admin(&Enjoy::Admin::News.config(rails_admin_add_fields) { |config|
      rails_admin_add_config(config)
    })
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
enjoy_cms-0.3.7.4 app/models/enjoy/news.rb
enjoy_cms-0.3.7.3 app/models/enjoy/news.rb
enjoy_cms-0.3.7.2 app/models/enjoy/news.rb
enjoy_cms-0.3.7.1 app/models/enjoy/news.rb
enjoy_cms-0.3.7 app/models/enjoy/news.rb
enjoy_cms-0.3.6.2 app/models/enjoy/news.rb
enjoy_cms-0.3.6.1 app/models/enjoy/news.rb
enjoy_cms-0.3.6 app/models/enjoy/news.rb
enjoy_cms-0.3.5 app/models/enjoy/news.rb
enjoy_cms-0.3.4 app/models/enjoy/news.rb
enjoy_cms-0.3.3 app/models/enjoy/news.rb
enjoy_cms-0.3.2.1 app/models/enjoy/news.rb
enjoy_cms-0.3.2 app/models/enjoy/news.rb
enjoy_cms-0.3.1.2 app/models/enjoy/news.rb
enjoy_cms-0.3.1.1 app/models/enjoy/news.rb
enjoy_cms-0.3.1 app/models/enjoy/news.rb
enjoy_cms-0.3.0.4 app/models/enjoy/news.rb
enjoy_cms-0.3.0.3 app/models/enjoy/news.rb
enjoy_cms-0.3.0.2 app/models/enjoy/news.rb
enjoy_cms-0.2.1 app/models/enjoy/news.rb