Class: Morpho::Engine

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

Class Method Summary collapse

Class Method Details

.controllers_pathObject



35
36
37
38
39
40
41
# File 'lib/morpho/engine.rb', line 35

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

.models_pathObject



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

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