Revision abf1341e
Added by Ondřej Pražák almost 8 years ago
config/routes.rb | ||
---|---|---|
23 | 23 |
get :run_job |
24 | 24 |
put :add_projects |
25 | 25 |
put :remove_projects |
26 |
put :add_paths |
|
27 |
put :remove_paths |
|
26 |
put :set_to_environments |
|
28 | 27 |
get :available_paths |
29 |
get :current_paths |
|
30 | 28 |
end |
31 | 29 |
end |
32 | 30 |
|
... | ... | |
35 | 33 |
get :check_jenkins |
36 | 34 |
put :set_jenkins_user |
37 | 35 |
end |
38 |
|
|
39 |
|
|
40 | 36 |
end |
41 | 37 |
|
42 | 38 |
api_resources :jenkins_projects, :only => [:show, :update] |
... | ... | |
49 | 45 |
|
50 | 46 |
api_resources :jenkins_project_params, :only => [:update] |
51 | 47 |
|
52 |
api_resources :jenkins_users, :only => [:index, :create, :destroy, :show, :update] |
|
48 |
api_resources :jenkins_users, :only => [:index, :create, :destroy, :show, :update] |
|
49 |
|
|
50 |
api_resources :paths, :only => [] do |
|
51 |
collection do |
|
52 |
get :all_paths |
|
53 |
end |
|
54 |
end |
|
53 | 55 |
|
54 | 56 |
end |
55 | 57 |
end |
Also available in: Unified diff
working widgets