Commit 879d75fb87ea71f2557e00047b3d62a9b5fe034c
1 parent
9e06ff0f
Exists in
master
and in
1 other branch
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 | class BacktraceLine | 1 | class BacktraceLine |
| 2 | include Mongoid::Document | 2 | include Mongoid::Document |
| 3 | - IN_APP_PATH = %r{^\[PROJECT_ROOT\](?!(\/vendor))} | 3 | + IN_APP_PATH = %r{^\[PROJECT_ROOT\](?!(\/vendor))/?} |
| 4 | GEMS_PATH = %r{\[GEM_ROOT\]\/gems\/([^\/]+)} | 4 | GEMS_PATH = %r{\[GEM_ROOT\]\/gems\/([^\/]+)} |
| 5 | 5 | ||
| 6 | field :number, :type => Integer | 6 | field :number, :type => Integer |