Sha256: 590e7829e325b2ad6fcc8f58e73a63ab35a936dec73f4852c8e7106490e38d42

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

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

  class News
    include Enjoy::Models::News
    Enjoy.apply_patches self
    rails_admin &Enjoy.news_config
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enjoy_cms-0.2.0.2 app/models/enjoy/news.rb
enjoy_cms-0.2.0.1.beta app/models/enjoy/news.rb
enjoy_cms-0.2.0.beta app/models/enjoy/news.rb
enjoy_cms-0.1.0.beta1 app/models/enjoy/news.rb