Class: Morpho::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/morpho/engine.rb

Class Method Summary collapse

Class Method Details

.controllers_pathObject



42
43
44
45
46
47
48
# File 'lib/morpho/engine.rb', line 42

def self.controllers_path
  Pathname.new(
    Morpho::Engine.root.join(
      'app', 'controllers', 'morpho'
    )
  )
end

.models_pathObject



50
51
52
53
54
55
56
# File 'lib/morpho/engine.rb', line 50

def self.models_path
  Pathname.new(
    Morpho::Engine.root.join(
      'app', 'models', 'morpho'
    )
  )
end