Skip to content

Commit

Permalink
Change machine managements routes to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew committed Feb 22, 2019
1 parent 350d079 commit 5f7b14f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

constraints Clearance::Constraints::SignedIn.new do
get 'cluster', to: 'cluster#index'
get 'cluster/restart', to: 'cluster#restart'
get 'cluster/stop', to: 'cluster#stop'
post 'cluster/restart', to: 'cluster#restart'
post 'cluster/stop', to: 'cluster#stop'

get 'users', to: 'users#index'
post 'users', to: 'users#create'
Expand Down

0 comments on commit 5f7b14f

Please sign in to comment.