Module: Georgia::Paths

Included in:
Engine
Defined in:
lib/georgia/paths.rb

Instance Method Summary collapse

Instance Method Details

#app_pathObject

Should be in a helper



5
6
7
# File 'lib/georgia/paths.rb', line 5

def app_path
  File.expand_path('../../app', called_from)
end

#decorator_path(name) ⇒ Object



9
10
11
# File 'lib/georgia/paths.rb', line 9

def decorator_path name
  File.expand_path("decorators/georgia/#{name}_decorator.rb", app_path)
end