Sha256: 80238f78c9a9f98a061280db0176b75922254e02a264216f9d962b7ee16df07c

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bug_hunter-0.1.1 lib/bug_hunter/routes_helper.rb
bug_hunter-0.1.0 lib/bug_hunter/routes_helper.rb
bug_hunter-0.0.6 lib/bug_hunter/routes_helper.rb
bug_hunter-0.0.5 lib/bug_hunter/routes_helper.rb