Changesets can be listed by changeset number.
The Git repository is here.
Changeset 382
Remove PATH_PREFIX stuff, since Apache+Passenger doesn't need it.
- Comitted by: rool
- Date: Monday March 21 14:09:15 2011 (over 13 years ago)
Affected files:
rool/rails/rcvsweb/trunk/app/views/revisions/show.rhtml (diff)
rool/rails/rcvsweb/trunk/config/environment.rb (diff)
rool/rails/rcvsweb/trunk/config/routes.rb (diff)
rool/rails/rcvsweb/trunk/app/views/revisions/show.rhtml:
prev. | current | |
-%> | ||
<img alt="<%= file[:category] %>" title="<%= file[:category] %>" src="<%= imgsrc %>" /> | ||
<% if file[:category] != 'Removal' -%> | ||
44 | | |
44 | <a href="<%= url_for(:controller=>'rcvsweb', :action=>'run', :url=>file[:path], :only_path => true) %>"><%= file[:path] %></a> | |
<% else -%> | ||
<%= file[:path] %> | ||
<% end -%> |
rool/rails/rcvsweb/trunk/config/environment.rb:
prev. | current | |
# you don't control web/app server and can't set it the proper way | ||
# ENV['RAILS_ENV'] ||= 'production' | ||
7 | ||
8 | ||
7 | # Rails Gem Version | |
8 | RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION | |
# Bootstrap the Rails environment, frameworks, and default configuration | ||
require File.join(File.dirname(__FILE__), 'boot') | ||
... | ... | |
# is left alone, again for a normal HTTP request. Otherwise, the | ||
# port is reset to 80. | ||
26 | ||
26 | PATH_PREFIX = '/viewer' | |
CVSWEB_LOCATION = '/home/rool/devel/perl/cvsweb/cvsweb.cgi' | ||
CVSHISTORY_LOCATION = '/home/rool/devel/python/cvshistory/cvshistory.cgi' | ||
CVSLOG2WEB_OUTPUT = '/home/rool/devel/python/cvslog2web/public' | ||
... | ... | |
DEVEL_HTTPS_PORT = '25081' | ||
Rails::Initializer.run do |config| | ||
35 | | |
36 | | |
37 | | |
38 | ||
39 | | |
40 | ||
# Skip frameworks that are not used. | ||
# config.frameworks -= [ :action_web_service, :action_mailer, :active_record ] |
rool/rails/rcvsweb/trunk/config/routes.rb:
prev. | current | |
ActionController::Routing::Routes.draw do |map| | ||
3 | | |
4 | | |
3 | map.root '/', :controller => 'application', :action => 'index' | |
# CVSweb: Route through the 'rcvsweb' controller's 'run' action | ||
7 | | |
6 | map.connect '/view/*url', :controller => 'rcvsweb', :action => 'run' | |
# CVShistory: Route through the 'rcvshistory' controller's 'run' action | ||
10 | | |
9 | map.connect '/history/*url', :controller => 'rcvshistory', :action => 'run' | |
# Synthesised revision list and cvslog2web wrapping | ||
13 | | |
14 | | |
12 | map.connect '/revisions/', :controller => 'revisions', :action => 'list' | |
13 | map.connect '/revisions/:action', :controller => 'revisions' | |
end |