Skip to content
Oliver Skawronek edited this page Jun 17, 2015 · 1 revision

Über die Routes-Liste kann eingesehen werden, über welche URL welche Controller-Methoden angesprochen werden.

Leider funktioniert das Generieren der Liste nicht über

rake routes

Deswegen muss programmiertechnisch die Liste generiert werden. Dafür kann folgende Methode genutzt werden:

Kopiert von color_routes:

  def draw_routes
    Rails.application.reload_routes!
    all_routes = Rails.application.routes.routes.to_a
    all_routes.reject! { |route| route.verb.nil? || route.path.spec.to_s == '/assets' }
    all_routes.select! { |route| ENV['CONTROLLER'].nil? || route.defaults[:controller].to_s == ENV['CONTROLLER'] }
    max_widths = {
      names: (all_routes.map { |route| route.name.to_s.length }.max),
      verbs: (6),
      paths: (all_routes.map { |route| route.path.spec.to_s.length }.max),
      controllers: (all_routes.map { |route| route.defaults[:controller].to_s.length }.max),
      actions: (all_routes.map { |route| route.defaults[:action].to_s.length }.max)
    }

    all_routes.group_by { |route| route.defaults[:controller] }.each_value do |group|
      $stderr.puts "\nCONTROLLER: " + group.first.defaults[:controller].to_s
      group.each do |route|
        name = route.name.to_s.rjust(max_widths[:names])
        verb = route.verb.inspect.gsub(/^.{2}|.{2}$/, "").center(max_widths[:verbs])
        path = route.path.spec.to_s.ljust(max_widths[:paths]).gsub(/\.?:\w+/){|s|s}
        action = route.defaults[:action].to_s.ljust(max_widths[:actions])
        $stderr.puts "#{name} | #{verb} | #{path} | #{action}"
      end
    end
  end

Für das eScience wird folgende Liste generiert

CONTROLLER: welcome
                                  home |        | /                                                                                 | index                    
                             info_news |  GET   | /info/news(.:format)                                                              | news                     
                           info_events |  GET   | /info/events(.:format)                                                            | events                   
                                       |  GET   | /robots.txt(.:format)                                                             | robots                   

CONTROLLER: account
                                signin |        | /login(.:format)                                                                  | login                    
                               signout |        | /logout(.:format)                                                                 | logout                   
                              register | GET|POST | /account/register(.:format)                                                       | register                 
                         lost_password | GET|POST | /account/lost_password(.:format)                                                  | lost_password            
                      account_activate |  GET   | /account/activate(.:format)                                                       | activate                 

CONTROLLER: previews
                          preview_news |        | /news/preview(.:format)                                                           | news                     
                     preview_new_issue |        | /issues/preview/new/:project_id(.:format)                                         | issue                    
                    preview_edit_issue |        | /issues/preview/edit/:id(.:format)                                                | issue                    
                         preview_issue |        | /issues/preview(.:format)                                                         | issue                    

CONTROLLER: wikis
                                       |  POST  | /projects/:id/wiki(.:format)                                                      | edit                     
                                       | GET|POST | /projects/:id/wiki/destroy(.:format)                                              | destroy                  

CONTROLLER: messages
                                       | GET|POST | /boards/:board_id/topics/new(.:format)                                            | new                      
                         board_message |  GET   | /boards/:board_id/topics/:id(.:format)                                            | show                     
                                       | GET|POST | /boards/:board_id/topics/quote/:id(.:format)                                      | quote                    
                                       |  GET   | /boards/:board_id/topics/:id/edit(.:format)                                       | edit                     
                                       |  POST  | /boards/:board_id/topics/preview(.:format)                                        | preview                  
                                       |  POST  | /boards/:board_id/topics/:id/replies(.:format)                                    | reply                    
                                       |  POST  | /boards/:board_id/topics/:id/edit(.:format)                                       | edit                     
                                       |  POST  | /boards/:board_id/topics/:id/destroy(.:format)                                    | destroy                  

CONTROLLER: auto_completes
                  auto_complete_issues |  GET   | /issues/auto_complete(.:format)                                                   | issues                   

CONTROLLER: context_menus
                   issues_context_menu |        | /issues/context_menu(.:format)                                                    | issues                   
             time_entries_context_menu |        | /time_entries/context_menu(.:format)                                              | time_entries             

CONTROLLER: journals
                         issue_changes |        | /issues/changes(.:format)                                                         | index                    
                          quoted_issue |  POST  | /issues/:id/quoted(.:format)                                                      | new                      
                                       |  GET   | /journals/diff/:id(.:format)                                                      | diff                     
                                       | GET|POST | /journals/edit/:id(.:format)                                                      | edit                     

CONTROLLER: gantts
                                       |        | /projects/:project_id/issues/gantt(.:format)                                      | show                     
                          issues_gantt |        | /issues/gantt(.:format)                                                           | show                     

CONTROLLER: calendars
                                       |        | /projects/:project_id/issues/calendar(.:format)                                   | show                     
                       issues_calendar |        | /issues/calendar(.:format)                                                        | show                     
                              calendar | GET|POST | /calendar(.:format)                                                               | show_user_calendar       
             get_events_on_current_day |        | /get_events_on_current_day(.:format)                                              | get_events_on_current_day

CONTROLLER: reports
                                       |  GET   | /projects/:id/issues/report(.:format)                                             | issue_report             
                                       |  GET   | /projects/:id/issues/report/:detail(.:format)                                     | issue_report_details     

CONTROLLER: my
                            my_account | GET|POST | /my/account(.:format)                                                             | account                  
                            my_members | GET|POST | /my/members(.:format)                                                             | members                  
                               my_page |  GET   | /my/page(.:format)                                                                | page                     
                                    my |  GET   | /my(.:format)                                                                     | index                    
                      my_reset_rss_key |  POST  | /my/reset_rss_key(.:format)                                                       | reset_rss_key            
                      my_reset_api_key |  POST  | /my/reset_api_key(.:format)                                                       | reset_api_key            
                           my_password | GET|POST | /my/password(.:format)                                                            | password                 
                        my_page_layout |  GET   | /my/page_layout(.:format)                                                         | page_layout              
                          my_add_block |  POST  | /my/add_block(.:format)                                                           | add_block                
                       my_remove_block |  POST  | /my/remove_block(.:format)                                                        | remove_block             
                       my_order_blocks |  POST  | /my/order_blocks(.:format)                                                        | order_blocks             
                  my_create_dash_block |  POST  | /my/create_dash_block(.:format)                                                   | create_dash_block        
                                       |  GET   | /my/render_block/:blockname(.:format)                                             | render_block             
                    my_interest_search |  GET   | /my/interest_search(.:format)                                                     | interest_search          
                       my_skill_search |  GET   | /my/skill_search(.:format)                                                        | skill_search             

CONTROLLER: meta_information
                        metatagssearch |        | /metatagssearch(.:format)                                                         | retrieve_all_tags        

CONTROLLER: users
               users_online_live_count |  GET   | /users/online_live_count(.:format)                                                | online_live_count        
                                 users |  GET   | /users(.:format)                                                                  | index                    
                                       |  POST  | /users(.:format)                                                                  | create                   
                              new_user |  GET   | /users/new(.:format)                                                              | new                      
                             edit_user |  GET   | /users/:id/edit(.:format)                                                         | edit                     
                                  user |  GET   | /users/:id(.:format)                                                              | show                     
                                       |  PUT   | /users/:id(.:format)                                                              | update                   
                                       | DELETE | /users/:id(.:format)                                                              | destroy                  
                            usersearch |        | /usersearch(.:format)                                                             | user_search              
                  contact_membersearch |        | /contact_membersearch(.:format)                                                   | contact_member_search    
                       user_membership |  PUT   | /users/:id/memberships/:membership_id(.:format)                                   | edit_membership          
                                       | DELETE | /users/:id/memberships/:membership_id(.:format)                                   | destroy_membership       
                      user_memberships |  POST  | /users/:id/memberships(.:format)                                                  | edit_membership          
                       statistics_user |  GET   | /users/:id/statistics(.:format)                                                   | statistics               
               crop_profile_photo_user |  GET   | /users/:id/crop_profile_photo(.:format)                                           | crop_profile_photo       
                                       |  PUT   | /users/:id/crop_profile_photo(.:format)                                           | crop_profile_photo       
             upload_profile_photo_user |  GET   | /users/:id/upload_profile_photo(.:format)                                         | upload_profile_photo     
                                       |  PUT   | /users/:id/upload_profile_photo(.:format)                                         | upload_profile_photo     
             upload_profile_photo_user |  POST  | /users/:id/upload_profile_photo.js(.:format)                                      | upload_profile_photo     
                                       |  GET   | /users(.:format)                                                                  | index                    
                                       |  POST  | /users(.:format)                                                                  | create                   
                                       |  GET   | /users/new(.:format)                                                              | new                      
                                       |  GET   | /users/:id/edit(.:format)                                                         | edit                     
                                       |  GET   | /users/:id(.:format)                                                              | show                     
                                       |  PUT   | /users/:id(.:format)                                                              | update                   
                                       | DELETE | /users/:id(.:format)                                                              | destroy                  

CONTROLLER: watchers
                          watchers_new |  GET   | /watchers/new(.:format)                                                           | new                      
                              watchers |  POST  | /watchers(.:format)                                                               | create                   
                       watchers_append |  POST  | /watchers/append(.:format)                                                        | append                   
                      watchers_destroy |  POST  | /watchers/destroy(.:format)                                                       | destroy                  
                        watchers_watch |  POST  | /watchers/watch(.:format)                                                         | watch                    
                      watchers_unwatch |  POST  | /watchers/unwatch(.:format)                                                       | unwatch                  
        watchers_autocomplete_for_user |  GET   | /watchers/autocomplete_for_user(.:format)                                         | autocomplete_for_user    

CONTROLLER: projects
                                       |        | /projects/:id/settings/:tab(.:format)                                             | settings                 
                      settings_project |  GET   | /projects/:id/settings(.:format)                                                  | settings                 
                       modules_project |  POST  | /projects/:id/modules(.:format)                                                   | modules                  
                       archive_project |  POST  | /projects/:id/archive(.:format)                                                   | archive                  
                     unarchive_project |  POST  | /projects/:id/unarchive(.:format)                                                 | unarchive                
                         close_project |  POST  | /projects/:id/close(.:format)                                                     | close                    
                        reopen_project |  POST  | /projects/:id/reopen(.:format)                                                    | reopen                   
                add_attachment_project |  POST  | /projects/:id/add_attachment(.:format)                                            | add_attachment           
                          copy_project | GET|POST | /projects/:id/copy(.:format)                                                      | copy                     
                              projects |  GET   | /projects(.:format)                                                               | index                    
                                       |  POST  | /projects(.:format)                                                               | create                   
                           new_project |  GET   | /projects/new(.:format)                                                           | new                      
                          edit_project |  GET   | /projects/:id/edit(.:format)                                                      | edit                     
                               project |  GET   | /projects/:id(.:format)                                                           | show                     
                                       |  PUT   | /projects/:id(.:format)                                                           | update                   
                                       | DELETE | /projects/:id(.:format)                                                           | destroy                  
                                       |  GET   | /projects/:id/settings/:tab(.:format)                                             | settings                 
                                       |  GET   | /projects(.:format)                                                               | index                    
                                       |  POST  | /projects(.:format)                                                               | create                   
                                       |  GET   | /projects/new(.:format)                                                           | new                      
                                       |  GET   | /projects/:id/edit(.:format)                                                      | edit                     
                                       |  GET   | /projects/:id(.:format)                                                           | show                     
                                       |  PUT   | /projects/:id(.:format)                                                           | update                   
                                       | DELETE | /projects/:id(.:format)                                                           | destroy                  

CONTROLLER: members
      autocomplete_project_memberships |  GET   | /projects/:project_id/memberships/autocomplete(.:format)                          | autocomplete             
                   project_memberships |  GET   | /projects/:project_id/memberships(.:format)                                       | index                    
                                       |  POST  | /projects/:project_id/memberships(.:format)                                       | create                   
                new_project_membership |  GET   | /projects/:project_id/memberships/new(.:format)                                   | new                      
                            membership |  GET   | /memberships/:id(.:format)                                                        | show                     
                                       |  PUT   | /memberships/:id(.:format)                                                        | update                   
                                       | DELETE | /memberships/:id(.:format)                                                        | destroy                  

CONTROLLER: project_enumerations
                  project_enumerations |  PUT   | /projects/:project_id/enumerations(.:format)                                      | update                   
                                       | DELETE | /projects/:project_id/enumerations(.:format)                                      | destroy                  

CONTROLLER: issues
                                       |        | /projects/:project_id/issues/:copy_from/copy(.:format)                            | new                      
                        project_issues |  GET   | /projects/:project_id/issues(.:format)                                            | index                    
                                       |  POST  | /projects/:project_id/issues(.:format)                                            | create                   
                     new_project_issue |  GET   | /projects/:project_id/issues/new(.:format)                                        | new                      
                    project_issue_form | PUT|POST | /projects/:project_id/issues/new(.:format)                                        | new                      
              issues_new_with_decision | POST|GET | /issues/new_with_decision(.:format)                                               | new_with_decision        
                      bulk_edit_issues | GET|POST | /issues/bulk_edit(.:format)                                                       | bulk_edit                
                    bulk_update_issues |  POST  | /issues/bulk_update(.:format)                                                     | bulk_update              
                                issues |  GET   | /issues(.:format)                                                                 | index                    
                                       |  POST  | /issues(.:format)                                                                 | create                   
                             new_issue |  GET   | /issues/new(.:format)                                                             | new                      
                            edit_issue |  GET   | /issues/:id/edit(.:format)                                                        | edit                     
                                 issue |  GET   | /issues/:id(.:format)                                                             | show                     
                                       |  PUT   | /issues/:id(.:format)                                                             | update                   
                                       | DELETE | /issues/:id(.:format)                                                             | destroy                  
                                       | DELETE | /issues(.:format)                                                                 | destroy                  

CONTROLLER: timelog
     report_project_issue_time_entries |  GET   | /projects/:project_id/issues/:issue_id/time_entries/report(.:format)              | report                   
            project_issue_time_entries |  GET   | /projects/:project_id/issues/:issue_id/time_entries(.:format)                     | index                    
                                       |  POST  | /projects/:project_id/issues/:issue_id/time_entries(.:format)                     | create                   
          new_project_issue_time_entry |  GET   | /projects/:project_id/issues/:issue_id/time_entries/new(.:format)                 | new                      
         edit_project_issue_time_entry |  GET   | /projects/:project_id/issues/:issue_id/time_entries/:id/edit(.:format)            | edit                     
              project_issue_time_entry |  GET   | /projects/:project_id/issues/:issue_id/time_entries/:id(.:format)                 | show                     
                                       |  PUT   | /projects/:project_id/issues/:issue_id/time_entries/:id(.:format)                 | update                   
                                       | DELETE | /projects/:project_id/issues/:issue_id/time_entries/:id(.:format)                 | destroy                  
           report_project_time_entries |  GET   | /projects/:project_id/time_entries/report(.:format)                               | report                   
                  project_time_entries |  GET   | /projects/:project_id/time_entries(.:format)                                      | index                    
                                       |  POST  | /projects/:project_id/time_entries(.:format)                                      | create                   
                new_project_time_entry |  GET   | /projects/:project_id/time_entries/new(.:format)                                  | new                      
               edit_project_time_entry |  GET   | /projects/:project_id/time_entries/:id/edit(.:format)                             | edit                     
                    project_time_entry |  GET   | /projects/:project_id/time_entries/:id(.:format)                                  | show                     
                                       |  PUT   | /projects/:project_id/time_entries/:id(.:format)                                  | update                   
                                       | DELETE | /projects/:project_id/time_entries/:id(.:format)                                  | destroy                  
             report_issue_time_entries |  GET   | /issues/:issue_id/time_entries/report(.:format)                                   | report                   
                    issue_time_entries |  GET   | /issues/:issue_id/time_entries(.:format)                                          | index                    
                                       |  POST  | /issues/:issue_id/time_entries(.:format)                                          | create                   
                  new_issue_time_entry |  GET   | /issues/:issue_id/time_entries/new(.:format)                                      | new                      
                 edit_issue_time_entry |  GET   | /issues/:issue_id/time_entries/:id/edit(.:format)                                 | edit                     
                      issue_time_entry |  GET   | /issues/:issue_id/time_entries/:id(.:format)                                      | show                     
                                       |  PUT   | /issues/:issue_id/time_entries/:id(.:format)                                      | update                   
                                       | DELETE | /issues/:issue_id/time_entries/:id(.:format)                                      | destroy                  
                   report_time_entries |  GET   | /time_entries/report(.:format)                                                    | report                   
                bulk_edit_time_entries |  GET   | /time_entries/bulk_edit(.:format)                                                 | bulk_edit                
              bulk_update_time_entries |  POST  | /time_entries/bulk_update(.:format)                                               | bulk_update              
                          time_entries |  GET   | /time_entries(.:format)                                                           | index                    
                                       |  POST  | /time_entries(.:format)                                                           | create                   
                        new_time_entry |  GET   | /time_entries/new(.:format)                                                       | new                      
                       edit_time_entry |  GET   | /time_entries/:id/edit(.:format)                                                  | edit                     
                            time_entry |  GET   | /time_entries/:id(.:format)                                                       | show                     
                                       |  PUT   | /time_entries/:id(.:format)                                                       | update                   
                                       | DELETE | /time_entries/:id(.:format)                                                       | destroy                  
                  time_entries_destroy | DELETE | /time_entries/destroy(.:format)                                                   | destroy                  

CONTROLLER: files
                         project_files |  GET   | /projects/:project_id/files(.:format)                                             | index                    
                                       |  POST  | /projects/:project_id/files(.:format)                                             | create                   
                      new_project_file |  GET   | /projects/:project_id/files/new(.:format)                                         | new                      

CONTROLLER: versions
      close_completed_project_versions |  PUT   | /projects/:project_id/versions/close_completed(.:format)                          | close_completed          
                      project_versions |  POST  | /projects/:project_id/versions(.:format)                                          | create                   
                   new_project_version |  GET   | /projects/:project_id/versions/new(.:format)                                      | new                      
                                       |        | /projects/:project_id/versions.:format                                            | index                    
                       project_roadmap |        | /projects/:project_id/roadmap                                                     | index                    
                                       |        | /projects/:project_id/versions(.:format)                                          | index                    
                     status_by_version |  POST  | /versions/:id/status_by(.:format)                                                 | status_by                
                          edit_version |  GET   | /versions/:id/edit(.:format)                                                      | edit                     
                               version |  GET   | /versions/:id(.:format)                                                           | show                     
                                       |  PUT   | /versions/:id(.:format)                                                           | update                   
                                       | DELETE | /versions/:id(.:format)                                                           | destroy                  

CONTROLLER: news
                    project_news_index |  GET   | /projects/:project_id/news(.:format)                                              | index                    
                                       |  POST  | /projects/:project_id/news(.:format)                                              | create                   
                      new_project_news |  GET   | /projects/:project_id/news/new(.:format)                                          | new                      
                            news_index |  GET   | /news(.:format)                                                                   | index                    
                             edit_news |  GET   | /news/:id/edit(.:format)                                                          | edit                     
                                  news |  GET   | /news/:id(.:format)                                                               | show                     
                                       |  PUT   | /news/:id(.:format)                                                               | update                   
                                       | DELETE | /news/:id(.:format)                                                               | destroy                  

CONTROLLER: queries
                       project_queries |  POST  | /projects/:project_id/queries(.:format)                                           | create                   
                     new_project_query |  GET   | /projects/:project_id/queries/new(.:format)                                       | new                      
                               queries |  GET   | /queries(.:format)                                                                | index                    
                                       |  POST  | /queries(.:format)                                                                | create                   
                             new_query |  GET   | /queries/new(.:format)                                                            | new                      
                            edit_query |  GET   | /queries/:id/edit(.:format)                                                       | edit                     
                                 query |  PUT   | /queries/:id(.:format)                                                            | update                   
                                       | DELETE | /queries/:id(.:format)                                                            | destroy                  

CONTROLLER: issue_categories
              project_issue_categories |  GET   | /projects/:project_id/issue_categories(.:format)                                  | index                    
                                       |  POST  | /projects/:project_id/issue_categories(.:format)                                  | create                   
            new_project_issue_category |  GET   | /projects/:project_id/issue_categories/new(.:format)                              | new                      
                   edit_issue_category |  GET   | /issue_categories/:id/edit(.:format)                                              | edit                     
                        issue_category |  GET   | /issue_categories/:id(.:format)                                                   | show                     
                                       |  PUT   | /issue_categories/:id(.:format)                                                   | update                   
                                       | DELETE | /issue_categories/:id(.:format)                                                   | destroy                  

CONTROLLER: documents
                     project_documents |  GET   | /projects/:project_id/documents(.:format)                                         | index                    
                                       |  POST  | /projects/:project_id/documents(.:format)                                         | create                   
                  new_project_document |  GET   | /projects/:project_id/documents/new(.:format)                                     | new                      
               add_attachment_document |  POST  | /documents/:id/add_attachment(.:format)                                           | add_attachment           
                         edit_document |  GET   | /documents/:id/edit(.:format)                                                     | edit                     
                              document |  GET   | /documents/:id(.:format)                                                          | show                     
                                       |  PUT   | /documents/:id(.:format)                                                          | update                   
                                       | DELETE | /documents/:id(.:format)                                                          | destroy                  

CONTROLLER: boards
                        project_boards |  GET   | /projects/:project_id/boards(.:format)                                            | index                    
                                       |  POST  | /projects/:project_id/boards(.:format)                                            | create                   
                     new_project_board |  GET   | /projects/:project_id/boards/new(.:format)                                        | new                      
                    edit_project_board |  GET   | /projects/:project_id/boards/:id/edit(.:format)                                   | edit                     
                         project_board |  GET   | /projects/:project_id/boards/:id(.:format)                                        | show                     
                                       |  PUT   | /projects/:project_id/boards/:id(.:format)                                        | update                   
                                       | DELETE | /projects/:project_id/boards/:id(.:format)                                        | destroy                  

CONTROLLER: repositories
                 committers_repository | GET|POST | /repositories/:id/committers(.:format)                                            | committers               
                  project_repositories |  POST  | /projects/:project_id/repositories(.:format)                                      | create                   
                new_project_repository |  GET   | /projects/:project_id/repositories/new(.:format)                                  | new                      
                       edit_repository |  GET   | /repositories/:id/edit(.:format)                                                  | edit                     
                            repository |  PUT   | /repositories/:id(.:format)                                                       | update                   
                                       | DELETE | /repositories/:id(.:format)                                                       | destroy                  
                                       |  GET   | /projects/:id/repository/:repository_id/statistics(.:format)                      | stats                    
                                       |  GET   | /projects/:id/repository/:repository_id/graph(.:format)                           | graph                    
                                       |  GET   | /projects/:id/repository/:repository_id/changes(/*path(.:ext))(.:format)          | changes                  
                                       |  GET   | /projects/:id/repository/:repository_id/revisions/:rev(.:format)                  | revision                 
                                       |  GET   | /projects/:id/repository/:repository_id/revision(.:format)                        | revision                 
                                       |  POST  | /projects/:id/repository/:repository_id/revisions/:rev/issues(.:format)           | add_related_issue        
                                       | DELETE | /projects/:id/repository/:repository_id/revisions/:rev/issues/:issue_id(.:format) | remove_related_issue     
                                       |  GET   | /projects/:id/repository/:repository_id/revisions(.:format)                       | revisions                
                                       |  GET   | /projects/:id/repository/:repository_id/revisions/:rev/:action(/*path(.:ext))     |                          
                                       |  GET   | /projects/:id/repository/statistics(.:format)                                     | stats                    
                                       |  GET   | /projects/:id/repository/graph(.:format)                                          | graph                    
                                       |  GET   | /projects/:id/repository/changes(/*path(.:ext))(.:format)                         | changes                  
                                       |  GET   | /projects/:id/repository/revisions(.:format)                                      | revisions                
                                       |  GET   | /projects/:id/repository/revisions/:rev(.:format)                                 | revision                 
                                       |  GET   | /projects/:id/repository/revision(.:format)                                       | revision                 
                                       |  POST  | /projects/:id/repository/revisions/:rev/issues(.:format)                          | add_related_issue        
                                       | DELETE | /projects/:id/repository/revisions/:rev/issues/:issue_id(.:format)                | remove_related_issue     
                                       |  GET   | /projects/:id/repository/revisions/:rev/:action(/*path(.:ext))                    |                          
                                       |  GET   | /projects/:id/repository/:repository_id/:action(/*path(.:ext))(.:format)          |                          
                                       |  GET   | /projects/:id/repository/:action(/*path(.:ext))(.:format)                         |                          
                                       |  GET   | /projects/:id/repository/:repository_id(.:format)                                 | show                     
                                       |  GET   | /projects/:id/repository(.:format)                                                | show                     

CONTROLLER: wiki
                    project_wiki_index |  GET   | /projects/:project_id/wiki/index(.:format)                                        | index                    
                   rename_project_wiki |  GET   | /projects/:project_id/wiki/:id/rename(.:format)                                   | rename                   
                                       |  POST  | /projects/:project_id/wiki/:id/rename(.:format)                                   | rename                   
                  history_project_wiki |  GET   | /projects/:project_id/wiki/:id/history(.:format)                                  | history                  
                     diff_project_wiki |  GET   | /projects/:project_id/wiki/:id/diff(.:format)                                     | diff                     
                  preview_project_wiki | POST|PUT | /projects/:project_id/wiki/:id/preview(.:format)                                  | preview                  
                  protect_project_wiki |  POST  | /projects/:project_id/wiki/:id/protect(.:format)                                  | protect                  
           add_attachment_project_wiki |  POST  | /projects/:project_id/wiki/:id/add_attachment(.:format)                           | add_attachment           
             export_project_wiki_index |  GET   | /projects/:project_id/wiki/export(.:format)                                       | export                   
         date_index_project_wiki_index |  GET   | /projects/:project_id/wiki/date_index(.:format)                                   | date_index               
                     edit_project_wiki |  GET   | /projects/:project_id/wiki/:id/edit(.:format)                                     | edit                     
                          project_wiki |  GET   | /projects/:project_id/wiki/:id(.:format)                                          | show                     
                                       |  PUT   | /projects/:project_id/wiki/:id(.:format)                                          | update                   
                                       | DELETE | /projects/:project_id/wiki/:id(.:format)                                          | destroy                  
                                       |  GET   | /projects/:project_id/wiki(.:format)                                              | show                     
                                       |  GET   | /projects/:project_id/wiki/:id/:version(.:format)                                 | show                     
                                       | DELETE | /projects/:project_id/wiki/:id/:version(.:format)                                 | destroy_version          
                                       |  GET   | /projects/:project_id/wiki/:id/:version/annotate(.:format)                        | annotate                 
                                       |  GET   | /projects/:project_id/wiki/:id/:version/diff(.:format)                            | diff                     
                             knowledge |  GET   | /knowledge(.:format)                                                              | show_all                 
                        knowledge_show |  GET   | /knowledge/show(.:format)                                                         | show                     
                       knowledge_index |  GET   | /knowledge/index(.:format)                                                        | index                    
                  knowledge_date_index |  GET   | /knowledge/date_index(.:format)                                                   | date_index               

CONTROLLER: issue_relations
                       issue_relations |  GET   | /issues/:issue_id/relations(.:format)                                             | index                    
                                       |  POST  | /issues/:issue_id/relations(.:format)                                             | create                   
                              relation |  GET   | /relations/:id(.:format)                                                          | show                     
                                       | DELETE | /relations/:id(.:format)                                                          | destroy                  

CONTROLLER: comments
                                       |  POST  | /news/:id/comments(.:format)                                                      | create                   
                                       | DELETE | /news/:id/comments/:comment_id(.:format)                                          | destroy                  
               create_general_comments |  POST  | /comments/create(.:format)                                                        | create_general_comment   

CONTROLLER: activities
                                       |  GET   | /projects/:id/activity(.:format)                                                  | index                    
                                       |  GET   | /projects/:id/activity.:format                                                    | index                    
                              activity |  GET   | /activity(.:format)                                                               | index                    

CONTROLLER: attachments
                                       |  GET   | /attachments/:id/:filename(.:format)                                              | show                     
                                       |  GET   | /attachments/download/:id/:filename(.:format)                                     | download                 
                                       |  GET   | /attachments/download/:id(.:format)                                               | download                 
                  thumbnail_attachment |  GET   | /attachments/thumbnail/:id(/:size)(.:format)                                      | thumbnail                
                            attachment |  GET   | /attachments/:id(.:format)                                                        | show                     
                                       | DELETE | /attachments/:id(.:format)                                                        | destroy                  
                               uploads |  POST  | /uploads(.:format)                                                                | upload                   
                  thumbnail_attachment |  GET   | /attachments/thumbnail/:id(/:size)(.:format)                                      | thumbnail                

CONTROLLER: contents
                               content |  GET   | /contents/:id(.:format)                                                           | show                     
                                       | DELETE | /contents/:id(.:format)                                                           | destroy                  

CONTROLLER: groups
           autocomplete_for_user_group |  GET   | /groups/:id/autocomplete_for_user(.:format)                                       | autocomplete_for_user    
                                groups |  GET   | /groups(.:format)                                                                 | index                    
                                       |  POST  | /groups(.:format)                                                                 | create                   
                             new_group |  GET   | /groups/new(.:format)                                                             | new                      
                            edit_group |  GET   | /groups/:id/edit(.:format)                                                        | edit                     
                                 group |  GET   | /groups/:id(.:format)                                                             | show                     
                                       |  PUT   | /groups/:id(.:format)                                                             | update                   
                                       | DELETE | /groups/:id(.:format)                                                             | destroy                  
                           group_users |  POST  | /groups/:id/users(.:format)                                                       | add_users                
                            group_user | DELETE | /groups/:id/users/:user_id(.:format)                                              | remove_user              
                                       |  POST  | /groups/destroy_membership/:id(.:format)                                          | destroy_membership       
                                       |  POST  | /groups/edit_membership/:id(.:format)                                             | edit_membership          

CONTROLLER: trackers
                       fields_trackers | GET|POST | /trackers/fields(.:format)                                                        | fields                   
                              trackers |  GET   | /trackers(.:format)                                                               | index                    
                                       |  POST  | /trackers(.:format)                                                               | create                   
                           new_tracker |  GET   | /trackers/new(.:format)                                                           | new                      
                          edit_tracker |  GET   | /trackers/:id/edit(.:format)                                                      | edit                     
                               tracker |  PUT   | /trackers/:id(.:format)                                                           | update                   
                                       | DELETE | /trackers/:id(.:format)                                                           | destroy                  

CONTROLLER: issue_statuses
update_issue_done_ratio_issue_statuses |  POST  | /issue_statuses/update_issue_done_ratio(.:format)                                 | update_issue_done_ratio  
                        issue_statuses |  GET   | /issue_statuses(.:format)                                                         | index                    
                                       |  POST  | /issue_statuses(.:format)                                                         | create                   
                      new_issue_status |  GET   | /issue_statuses/new(.:format)                                                     | new                      
                     edit_issue_status |  GET   | /issue_statuses/:id/edit(.:format)                                                | edit                     
                          issue_status |  PUT   | /issue_statuses/:id(.:format)                                                     | update                   
                                       | DELETE | /issue_statuses/:id(.:format)                                                     | destroy                  

CONTROLLER: custom_fields
                         custom_fields |  GET   | /custom_fields(.:format)                                                          | index                    
                                       |  POST  | /custom_fields(.:format)                                                          | create                   
                      new_custom_field |  GET   | /custom_fields/new(.:format)                                                      | new                      
                     edit_custom_field |  GET   | /custom_fields/:id/edit(.:format)                                                 | edit                     
                          custom_field |  PUT   | /custom_fields/:id(.:format)                                                      | update                   
                                       | DELETE | /custom_fields/:id(.:format)                                                      | destroy                  

CONTROLLER: roles
                     permissions_roles | GET|POST | /roles/permissions(.:format)                                                      | permissions              
                                 roles |  GET   | /roles(.:format)                                                                  | index                    
                                       |  POST  | /roles(.:format)                                                                  | create                   
                              new_role |  GET   | /roles/new(.:format)                                                              | new                      
                             edit_role |  GET   | /roles/:id/edit(.:format)                                                         | edit                     
                                  role |  GET   | /roles/:id(.:format)                                                              | show                     
                                       |  PUT   | /roles/:id(.:format)                                                              | update                   
                                       | DELETE | /roles/:id(.:format)                                                              | destroy                  

CONTROLLER: enumerations
                          enumerations |  GET   | /enumerations(.:format)                                                           | index                    
                                       |  POST  | /enumerations(.:format)                                                           | create                   
                       new_enumeration |  GET   | /enumerations/new(.:format)                                                       | new                      
                      edit_enumeration |  GET   | /enumerations/:id/edit(.:format)                                                  | edit                     
                           enumeration |  PUT   | /enumerations/:id(.:format)                                                       | update                   
                                       | DELETE | /enumerations/:id(.:format)                                                       | destroy                  
                                       |  GET   | /enumerations/:type(.:format)                                                     | index                    

CONTROLLER: search
                                       |  GET   | /projects/:id/search(.:format)                                                    | index                    
                                search |  GET   | /search(.:format)                                                                 | index                    
                                       |  GET   | /user_messages/:id/search(.:format)                                               | index                    

CONTROLLER: mail_handler
                          mail_handler |  POST  | /mail_handler(.:format)                                                           | index                    

CONTROLLER: user_messages
          user_message_contact_message |  GET   | /user_message/contact_message(.:format)                                           | contact_message          
     user_message_send_contact_message |  POST  | /user_message/send_contact_message(.:format)                                      | send_contact_message     
              user_messages_emptytrash |  GET   | /user_messages/emptytrash(.:format)                                               | emptytrash               
                   user_messages_reply |  GET   | /user_messages/reply(.:format)                                                    | reply                    
                         user_messages |  GET   | /user_messages(.:format)                                                          | index                    
                                       |  POST  | /user_messages(.:format)                                                          | create                   
                      new_user_message |  GET   | /user_messages/new(.:format)                                                      | new                      
                     edit_user_message |  GET   | /user_messages/:id/edit(.:format)                                                 | edit                     
                          user_message |  GET   | /user_messages/:id(.:format)                                                      | show                     
                                       |  PUT   | /user_messages/:id(.:format)                                                      | update                   
                                       | DELETE | /user_messages/:id(.:format)                                                      | destroy                  
                                       |  GET   | /user_messages/:id/archive(.:format)                                              | archive                  

CONTROLLER: admin
                                 admin |  GET   | /admin(.:format)                                                                  | index                    
                        admin_projects |  GET   | /admin/projects(.:format)                                                         | projects                 
                         admin_plugins |  GET   | /admin/plugins(.:format)                                                          | plugins                  
                            admin_info |  GET   | /admin/info(.:format)                                                             | info                     
                      admin_test_email |  GET   | /admin/test_email(.:format)                                                       | test_email               
           admin_default_configuration |  POST  | /admin/default_configuration(.:format)                                            | default_configuration    

CONTROLLER: auth_sources
           test_connection_auth_source |  GET   | /auth_sources/:id/test_connection(.:format)                                       | test_connection          
                          auth_sources |  GET   | /auth_sources(.:format)                                                           | index                    
                                       |  POST  | /auth_sources(.:format)                                                           | create                   
                       new_auth_source |  GET   | /auth_sources/new(.:format)                                                       | new                      
                      edit_auth_source |  GET   | /auth_sources/:id/edit(.:format)                                                  | edit                     
                           auth_source |  GET   | /auth_sources/:id(.:format)                                                       | show                     
                                       |  PUT   | /auth_sources/:id(.:format)                                                       | update                   
                                       | DELETE | /auth_sources/:id(.:format)                                                       | destroy                  

CONTROLLER: user_contact
                          user_contact | GET|POST | /user_contact(.:format)                                                           | index                    
                      user_contact_add | GET|POST | /user_contact/add(.:format)                                                       | add                      
                   user_contact_delete | GET|POST | /user_contact/delete(.:format)                                                    | delete                   

CONTROLLER: workflows
                             workflows |  GET   | /workflows(.:format)                                                              | index                    
                        workflows_edit | GET|POST | /workflows/edit(.:format)                                                         | edit                     
                 workflows_permissions | GET|POST | /workflows/permissions(.:format)                                                  | permissions              
                        workflows_copy | GET|POST | /workflows/copy(.:format)                                                         | copy                     

CONTROLLER: settings
                              settings |  GET   | /settings(.:format)                                                               | index                    
                         settings_edit | GET|POST | /settings/edit(.:format)                                                          | edit                     
                                       | GET|POST | /settings/plugin/:id(.:format)                                                    | plugin                   

CONTROLLER: sys
                          sys_projects |  GET   | /sys/projects(.:format)                                                           | projects                 
                                       |  POST  | /sys/projects/:id/repository(.:format)                                            | create_project_repository
                  sys_fetch_changesets |  GET   | /sys/fetch_changesets(.:format)                                                   | fetch_changesets         

CONTROLLER: pages
                                       |  GET   | /static/:id(.:format)                                                             | show                     

CONTROLLER: appointments
                          appointments |  GET   | /appointments(.:format)                                                           | index                    
                                       |  POST  | /appointments(.:format)                                                           | create                   
                       new_appointment |  GET   | /appointments/new(.:format)                                                       | new                      
                      edit_appointment |  GET   | /appointments/:id/edit(.:format)                                                  | edit                     
                           appointment |  GET   | /appointments/:id(.:format)                                                       | show                     
                                       |  PUT   | /appointments/:id(.:format)                                                       | update                   
                                       | DELETE | /appointments/:id(.:format)                                                       | destroy                  
                                       | DELETE | /appointments/:id(.:format)                                                       | destroy                  

CONTROLLER: bbb
                                   bbb |        | /bbb(.:format)                                                                    | start                    
                            bbb_return |        | /bbb_return(.:format)                                                             | index                    
                                       |  POST  | /projects/:project_id/bbb/start_form(.:format)                                    | start_form               
                                       |  GET   | /projects/:project_id/bbb/bbb_session(.:format)                                   | bbb_session              
                                       |  GET   | /projects/:project_id/bbb/bbb_session_files(.:format)                             | bbb_session_files        

CONTROLLER: doodles
                               doodles |        | /doodles(.:format)                                                                | list                     
                 doodle_doodle_preview |  POST  | /doodles/:doodle_id/preview(.:format)                                             | preview                  
                  doodle_doodle_member |  GET   | /doodles/:doodle_id/member(.:format)                                              | member                   
                    doodle_doodle_lock |  POST  | /doodles/:doodle_id/lock(.:format)                                                | lock                     
                       project_doodles |  GET   | /projects/:project_id/doodles(.:format)                                           | index                    
                                       |  POST  | /projects/:project_id/doodles(.:format)                                           | create                   
                    new_project_doodle |  GET   | /projects/:project_id/doodles/new(.:format)                                       | new                      
                           edit_doodle |  GET   | /doodles/:id/edit(.:format)                                                       | edit                     
                                doodle |  GET   | /doodles/:id(.:format)                                                            | show                     
                                       |  PUT   | /doodles/:id(.:format)                                                            | update                   
                                       | DELETE | /doodles/:id(.:format)                                                            | destroy                  

CONTROLLER: doodle_answers
                 doodle_doodle_answers |  GET   | /doodles/:doodle_id/doodle_answers(.:format)                                      | index                    
                                       |  POST  | /doodles/:doodle_id/doodle_answers(.:format)                                      | create                   
              new_doodle_doodle_answer |  GET   | /doodles/:doodle_id/doodle_answers/new(.:format)                                  | new                      
                    edit_doodle_answer |  GET   | /doodle_answers/:id/edit(.:format)                                                | edit                     
                         doodle_answer |  GET   | /doodle_answers/:id(.:format)                                                     | show                     
                                       |  PUT   | /doodle_answers/:id(.:format)                                                     | update                   
                                       | DELETE | /doodle_answers/:id(.:format)                                                     | destroy                  

CONTROLLER: ads
                                   ads |  GET   | /ads(.:format)                                                                    | index                    
                                       |  POST  | /ads(.:format)                                                                    | create                   
                                new_ad |  GET   | /ads/new(.:format)                                                                | new                      
                               edit_ad |  GET   | /ads/:id/edit(.:format)                                                           | edit                     
                                    ad |  GET   | /ads/:id(.:format)                                                                | show                     
                                       |  PUT   | /ads/:id(.:format)                                                                | update                   
                                       | DELETE | /ads/:id(.:format)                                                                | destroy                  

CONTROLLER: photo_manager
                   photo_manager_index |  GET   | /photo_manager(.:format)                                                          | index                    
                                       |  POST  | /photo_manager(.:format)                                                          | create                   
                     new_photo_manager |  GET   | /photo_manager/new(.:format)                                                      | new                      
                    edit_photo_manager |  GET   | /photo_manager/:id/edit(.:format)                                                 | edit                     
                         photo_manager |  GET   | /photo_manager/:id(.:format)                                                      | show                     
                                       |  PUT   | /photo_manager/:id(.:format)                                                      | update                   
                                       | DELETE | /photo_manager/:id(.:format)                                                      | destroy                  

CONTROLLER: friendships
                       friendships_xml |  GET   | /friendships.xml(.:format)                                                        | index                    
                           friendships |  GET   | /friendships(.:format)                                                            | index                    
             accepted_user_friendships |  GET   | /users/:user_id/friendships/accepted(.:format)                                    | accepted                 
              pending_user_friendships |  GET   | /users/:user_id/friendships/pending(.:format)                                     | pending                  
               denied_user_friendships |  GET   | /users/:user_id/friendships/denied(.:format)                                      | denied                   
        write_message_user_friendships |  GET   | /users/:user_id/friendships/write_message(.:format)                               | write_message            
                accept_user_friendship |  PUT   | /users/:user_id/friendships/:id/accept(.:format)                                  | accept                   
                  deny_user_friendship |  PUT   | /users/:user_id/friendships/:id/deny(.:format)                                    | deny                     
                      user_friendships |  GET   | /users/:user_id/friendships(.:format)                                             | index                    
                                       |  POST  | /users/:user_id/friendships(.:format)                                             | create                   
                   new_user_friendship |  GET   | /users/:user_id/friendships/new(.:format)                                         | new                      
                  edit_user_friendship |  GET   | /users/:user_id/friendships/:id/edit(.:format)                                    | edit                     
                       user_friendship |  GET   | /users/:user_id/friendships/:id(.:format)                                         | show                     
                                       |  PUT   | /users/:user_id/friendships/:id(.:format)                                         | update                   
                                       | DELETE | /users/:user_id/friendships/:id(.:format)                                         | destroy                  

CONTROLLER: photos
                         manage_photos |  GET   | /manage_photos(.:format)                                                          | manage_photos            
                          create_photo |  POST  | /create_photo.js(.:format)                                                        | create                   
             project_photo_add_comment |  POST  | /projects/:project_id/photos/:photo_id/add_comment(.:format)                      | add_comment              
                        project_photos |  GET   | /projects/:project_id/photos(.:format)                                            | index                    
                                       |  POST  | /projects/:project_id/photos(.:format)                                            | create                   
                     new_project_photo |  GET   | /projects/:project_id/photos/new(.:format)                                        | new                      
                    edit_project_photo |  GET   | /projects/:project_id/photos/:id/edit(.:format)                                   | edit                     
                         project_photo |  GET   | /projects/:project_id/photos/:id(.:format)                                        | show                     
                                       |  PUT   | /projects/:project_id/photos/:id(.:format)                                        | update                   
                                       | DELETE | /projects/:project_id/photos/:id(.:format)                                        | destroy                  
                                       |  GET   | /users/:user_id/photos/page/:page(.:format)                                       | index                    
                           user_photos |  GET   | /users/:user_id/photos(.:format)                                                  | index                    
                                       |  POST  | /users/:user_id/photos(.:format)                                                  | create                   
                        new_user_photo |  GET   | /users/:user_id/photos/new(.:format)                                              | new                      
                       edit_user_photo |  GET   | /users/:user_id/photos/:id/edit(.:format)                                         | edit                     
                            user_photo |  GET   | /users/:user_id/photos/:id(.:format)                                              | show                     
                                       |  PUT   | /users/:user_id/photos/:id(.:format)                                              | update                   
                                       | DELETE | /users/:user_id/photos/:id(.:format)                                              | destroy                  
           swfupload_user_album_photos |  POST  | /users/:user_id/albums/:album_id/photos/swfupload(.:format)                       | swfupload                
           slideshow_user_album_photos |  GET   | /users/:user_id/albums/:album_id/photos/slideshow(.:format)                       | slideshow                
                     user_album_photos |  GET   | /users/:user_id/albums/:album_id/photos(.:format)                                 | index                    
                                       |  POST  | /users/:user_id/albums/:album_id/photos(.:format)                                 | create                   
                  new_user_album_photo |  GET   | /users/:user_id/albums/:album_id/photos/new(.:format)                             | new                      
                 edit_user_album_photo |  GET   | /users/:user_id/albums/:album_id/photos/:id/edit(.:format)                        | edit                     
                      user_album_photo |  GET   | /users/:user_id/albums/:album_id/photos/:id(.:format)                             | show                     
                                       |  PUT   | /users/:user_id/albums/:album_id/photos/:id(.:format)                             | update                   
                                       | DELETE | /users/:user_id/albums/:album_id/photos/:id(.:format)                             | destroy                  
                     photo_add_comment |  POST  | /photos/:photo_id/add_comment(.:format)                                           | add_comment              
                                photos |  GET   | /photos(.:format)                                                                 | index                    
                                       |  POST  | /photos(.:format)                                                                 | create                   
                             new_photo |  GET   | /photos/new(.:format)                                                             | new                      
                            edit_photo |  GET   | /photos/:id/edit(.:format)                                                        | edit                     
                                 photo |  GET   | /photos/:id(.:format)                                                             | show                     
                                       |  PUT   | /photos/:id(.:format)                                                             | update                   
                                       | DELETE | /photos/:id(.:format)                                                             | destroy                  

CONTROLLER: albums
                    project_album_show |  GET   | /projects/:project_id/albums/:album_id/show(.:format)                             | show                     
                        project_albums |  GET   | /projects/:project_id/albums(.:format)                                            | index                    
                                       |  POST  | /projects/:project_id/albums(.:format)                                            | create                   
                     new_project_album |  GET   | /projects/:project_id/albums/new(.:format)                                        | new                      
                    edit_project_album |  GET   | /projects/:project_id/albums/:id/edit(.:format)                                   | edit                     
                         project_album |  GET   | /projects/:project_id/albums/:id(.:format)                                        | show                     
                                       |  PUT   | /projects/:project_id/albums/:id(.:format)                                        | update                   
                                       | DELETE | /projects/:project_id/albums/:id(.:format)                                        | destroy                  
                           user_albums |  GET   | /users/:user_id/albums(.:format)                                                  | index                    
                                       |  POST  | /users/:user_id/albums(.:format)                                                  | create                   
                        new_user_album |  GET   | /users/:user_id/albums/new(.:format)                                              | new                      
                       edit_user_album |  GET   | /users/:user_id/albums/:id/edit(.:format)                                         | edit                     
                            user_album |  GET   | /users/:user_id/albums/:id(.:format)                                              | show                     
                                       |  PUT   | /users/:user_id/albums/:id(.:format)                                              | update                   
                                       | DELETE | /users/:user_id/albums/:id(.:format)                                              | destroy                  
                            album_show |  GET   | /albums/:album_id/show(.:format)                                                  | show                     
                                albums |  GET   | /albums(.:format)                                                                 | index                    
                                       |  POST  | /albums(.:format)                                                                 | create                   
                             new_album |  GET   | /albums/new(.:format)                                                             | new                      
                            edit_album |  GET   | /albums/:id/edit(.:format)                                                        | edit                     
                                 album |  GET   | /albums/:id(.:format)                                                             | show                     
                                       |  PUT   | /albums/:id(.:format)                                                             | update                   
                                       | DELETE | /albums/:id(.:format)                                                             | destroy                  

CONTROLLER: group_invitations
                      group_invitation |  POST  | /group_invitations/:id(.:format)                                                  | create                   
            selection_group_invitation |  POST  | /group_invitations/:id/selection(.:format)                                        | selection                
                     group_invitations |  GET   | /group_invitations(.:format)                                                      | index                    
                                       |  POST  | /group_invitations(.:format)                                                      | create                   
                                       | DELETE | /group_invitations/:id(.:format)                                                  | destroy                  

CONTROLLER: application
                      generate_qr_code |        | /qr_gen(/:p_url)(.:format)                                                        | generate_qr_code         
                set_user_session_scope |        | /userSessionScope(/:scope_select)(.:format)

Clone this wiki locally