"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "config/routes.rb" between
redmine-4.0.3.tar.gz and redmine-4.0.4.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

routes.rb  (redmine-4.0.3):routes.rb  (redmine-4.0.4)
skipping to change at line 249 skipping to change at line 249
# repositories routes # repositories routes
get 'projects/:id/repository/:repository_id/statistics', :to => 'repositories# stats' get 'projects/:id/repository/:repository_id/statistics', :to => 'repositories# stats'
get 'projects/:id/repository/:repository_id/graph', :to => 'repositories#graph ' get 'projects/:id/repository/:repository_id/graph', :to => 'repositories#graph '
get 'projects/:id/repository/:repository_id/revisions/:rev', :to => 'repositor ies#revision' get 'projects/:id/repository/:repository_id/revisions/:rev', :to => 'repositor ies#revision'
get 'projects/:id/repository/:repository_id/revision', :to => 'repositories#re vision' get 'projects/:id/repository/:repository_id/revision', :to => 'repositories#re vision'
post 'projects/:id/repository/:repository_id/revisions/:rev/issues', :to => 'repositories#add_related_issue' post 'projects/:id/repository/:repository_id/revisions/:rev/issues', :to => 'repositories#add_related_issue'
delete 'projects/:id/repository/:repository_id/revisions/:rev/issues/:issue_id ', :to => 'repositories#remove_related_issue' delete 'projects/:id/repository/:repository_id/revisions/:rev/issues/:issue_id ', :to => 'repositories#remove_related_issue'
get 'projects/:id/repository/:repository_id/revisions', :to => 'repositories#r evisions' get 'projects/:id/repository/:repository_id/revisions', :to => 'repositories#r evisions'
%w(browse show entry raw annotate diff).each do |action| %w(browse show entry raw annotate).each do |action|
get "projects/:id/repository/:repository_id/revisions/:rev/#{action}(/*path) ", get "projects/:id/repository/:repository_id/revisions/:rev/#{action}(/*path) ",
:controller => 'repositories', :controller => 'repositories',
:action => action, :action => action,
:format => 'html', :format => 'html',
:constraints => {:rev => /[a-z0-9\.\-_]+/, :path => /.*/} :constraints => {:rev => /[a-z0-9\.\-_]+/, :path => /.*/}
end end
%w(browse entry raw changes annotate diff).each do |action| %w(browse entry raw changes annotate).each do |action|
get "projects/:id/repository/:repository_id/#{action}(/*path)", get "projects/:id/repository/:repository_id/#{action}(/*path)",
:controller => 'repositories', :controller => 'repositories',
:action => action, :action => action,
:format => 'html', :format => 'html',
:constraints => {:path => /.*/} :constraints => {:path => /.*/}
end end
get "projects/:id/repository/:repository_id/revisions/:rev/diff(/*path)",
:to => 'repositories#diff',
:format => false,
:constraints => {:rev => /[a-z0-9\.\-_]+/, :path => /.*/}
get "projects/:id/repository/:repository_id/diff(/*path)",
:to => 'repositories#diff',
:format => false,
:constraints => {:path => /.*/}
get 'projects/:id/repository/:repository_id/show/*path', :to => 'repositories# show', :format => 'html', :constraints => {:path => /.*/} get 'projects/:id/repository/:repository_id/show/*path', :to => 'repositories# show', :format => 'html', :constraints => {:path => /.*/}
get 'projects/:id/repository/:repository_id', :to => 'repositories#show', :pat h => nil get 'projects/:id/repository/:repository_id', :to => 'repositories#show', :pat h => nil
get 'projects/:id/repository', :to => 'repositories#show', :path => nil get 'projects/:id/repository', :to => 'repositories#show', :path => nil
# additional routes for having the file name at the end of url # additional routes for having the file name at the end of url
get 'attachments/:id/:filename', :to => 'attachments#show', :id => /\d+/, :fil ename => /.*/, :as => 'named_attachment', :format => 'html' get 'attachments/:id/:filename', :to => 'attachments#show', :id => /\d+/, :fil ename => /.*/, :as => 'named_attachment', :format => 'html'
get 'attachments/download/:id/:filename', :to => 'attachments#download', :id = > /\d+/, :filename => /.*/, :as => 'download_named_attachment' get 'attachments/download/:id/:filename', :to => 'attachments#download', :id = > /\d+/, :filename => /.*/, :as => 'download_named_attachment'
get 'attachments/download/:id', :to => 'attachments#download', :id => /\d+/ get 'attachments/download/:id', :to => 'attachments#download', :id => /\d+/
get 'attachments/thumbnail/:id(/:size)', :to => 'attachments#thumbnail', :id = > /\d+/, :size => /\d+/, :as => 'thumbnail' get 'attachments/thumbnail/:id(/:size)', :to => 'attachments#thumbnail', :id = > /\d+/, :size => /\d+/, :as => 'thumbnail'
 End of changes. 3 change blocks. 
2 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)