Module: BugHunter::RoutesHelper

Included in:
App
Defined in:
lib/bug_hunter/routes_helper.rb

Instance Method Summary collapse

Instance Method Details

#error_path(error) ⇒ Object



3
4
5
# File 'lib/bug_hunter/routes_helper.rb', line 3

def error_path(error)
  "#{ENV["BUGHUNTER_PATH"]}/errors/#{error.id}"
end

#root_pathObject



7
8
9
# File 'lib/bug_hunter/routes_helper.rb', line 7

def root_path
  "#{ENV["BUGHUNTER_PATH"]}/"
end