web/config/routes.rb
changeset 106 eac4098d544d
parent 93 be975ce27b80
child 110 02126b7e1cbb
equal deleted inserted replaced
105:8293977e9a30 106:eac4098d544d
    12       get "text-import", action: :show_text_import, as: 'new_text'
    12       get "text-import", action: :show_text_import, as: 'new_text'
    13       post "text-import", action: :text_import, as: 'text'
    13       post "text-import", action: :text_import, as: 'text'
    14       get "file-import", action: :show_file_import, as: 'new_file'
    14       get "file-import", action: :show_file_import, as: 'new_file'
    15       post "file-import", action: :file_import, as: 'file'
    15       post "file-import", action: :file_import, as: 'file'
    16       get "post-import", action: :show_post_import, as: 'new_post'
    16       get "post-import", action: :show_post_import, as: 'new_post'
    17       post ":lang_impl_id/push-import", action: :push_import, as: 'push'
    17       post ":configuration_id/push-import", action: :push_import, as: 'push'
    18     end
    18     end
    19   end
    19   end
    20 
    20 
    21   resources :results, only: :index do
    21   resources :results, only: :index do
    22     collection do
    22     collection do
    23       get "implementation/:id", action: :impl_results, as: 'impl'
    23       get "runtime/:id", action: :runtime_results, as: 'runtime'
    24     end
    24     end
    25   end
    25   end
    26 
    26 
    27   resources :compare, only: :index do
    27   resources :compare, only: :index do
    28     post "filter", on: :collection
    28     post "filter", on: :collection
    29   end
    29   end
    30 
    30 
    31   namespace "settings" do
    31   namespace "settings" do
    32     resources :languages, except: [:new]    
    32     resources :languages, except: [:new]    
    33     resources :language_implementations, except: [:new]    
    33     resources :runtimes, except: [:new]    
       
    34     resources :operating_systems, except: [:new]    
    34     resources :benchmark_infos, except: [:new]    
    35     resources :benchmark_infos, except: [:new]    
       
    36     resources :benchmark_configurations, except: [:new]    
    35   end
    37   end
    36 
    38 
    37 end
    39 end