Skip to content

Commit

Permalink
fix image reverting?
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored May 19, 2020
1 parent ce1a97c commit d6189a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
get 'dashboard', to: 'users#dashboard'
get 'authors', to: 'users#index'

get 'images/revert', to: 'images#revert'
get 'images/:url', to: 'images#fetch'

get 'tms/:id/alt/:z/:x/:y.png', to: 'utility#tms_alt'
Expand Down Expand Up @@ -104,7 +105,6 @@
post 'warper/update' => 'images#update' # legacy for cartagen.js
post 'images/update' => 'images#update'
post 'images/delete/:id' => 'images#delete'
get 'images/revert' => 'images#revert'
delete 'maps/:map_id/warpables/:id' => 'images#destroy' #legacy, will be resourceful
delete 'images/:id' => 'images#destroy' #legacy, will be resourceful

Expand Down

0 comments on commit d6189a6

Please sign in to comment.