Commit c4c6eeed authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Add /restore path back

parent c70a9952
...@@ -168,6 +168,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -168,6 +168,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end end
end end
post '/restore' => '/projects#restore', as: :restore
resources :approvers, only: :destroy resources :approvers, only: :destroy
resources :approver_groups, only: :destroy resources :approver_groups, only: :destroy
resources :push_rules, constraints: { id: /\d+/ }, only: [:update] resources :push_rules, constraints: { id: /\d+/ }, only: [:update]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment