Sha256: 88717e81afe9b6c3210e9f90c77326ef944b8d88f3436dfbe53fe79609c4faf5

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

require 'pages_cms/engine'

module PagesCms

  def self.root
    File.expand_path(File.dirname(File.dirname(__FILE__)))
  end

  def self.models_dir
    "#{root}/app/models/pages_cms"
  end

  def self.controllers_dir
    "#{root}/app/controllers/pages_cms"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_cms-2.4.2 lib/pages_cms.rb
pages_cms-2.3.2 lib/pages_cms.rb
pages_cms-2.3.1 lib/pages_cms.rb
pages_cms-2.3.0 lib/pages_cms.rb