Changesets can be listed by changeset number.
The Git repository is here.
Changeset 453
Properly handle "file not found" events for log files, rather than
just allowing an Application Error to be raised.
- Comitted by: rool
- Date: Friday September 06 02:04:50 2013 (over 11 years ago)
Affected files:
rool/rails/rcvsweb/trunk/app/controllers/revisions_controller.rb:
prev. | current | |
log.gsub!(/\.html$/, '') | ||
log.gsub!(/[\.\/\\]/, '') | ||
21 | | |
21 | filename = "#{CVSLOG2WEB_OUTPUT}/#{log}.html" | |
22 | ||
23 | if File.file?(filename) | |
24 | render :file => filename, :layout => 'default' | |
25 | else | |
26 | raise ActionController::RoutingError.new('Not Found') | |
27 | end | |
end | ||
def revisions |