Module: Georgia::Paths
- Included in:
- Engine
- Defined in:
- lib/georgia/paths.rb
Instance Method Summary collapse
-
#app_path ⇒ Object
Should be in a helper.
- #decorator_path(name) ⇒ Object
Instance Method Details
#app_path ⇒ Object
Should be in a helper
5 6 7 |
# File 'lib/georgia/paths.rb', line 5 def app_path File.('../../app', called_from) end |
#decorator_path(name) ⇒ Object
9 10 11 |
# File 'lib/georgia/paths.rb', line 9 def decorator_path name File.("decorators/georgia/#{name}_decorator.rb", app_path) end |