Class: Morpho::Engine

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

Class Method Summary collapse

Class Method Details

.controllers_pathObject



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

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

.models_pathObject



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

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