Commit 879d75fb87ea71f2557e00047b3d62a9b5fe034c

Authored by Nathan Broadbent
1 parent 9e06ff0f
Exists in master and in 1 other branch production

Strip trailing / from IN_APP_PATH for url helpers

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/backtrace_line.rb
1 1 class BacktraceLine
2 2 include Mongoid::Document
3   - IN_APP_PATH = %r{^\[PROJECT_ROOT\](?!(\/vendor))}
  3 + IN_APP_PATH = %r{^\[PROJECT_ROOT\](?!(\/vendor))/?}
4 4 GEMS_PATH = %r{\[GEM_ROOT\]\/gems\/([^\/]+)}
5 5  
6 6 field :number, :type => Integer
... ...