Revert "moved make_deactivate_btn into ApplicationController"

This reverts commit 97c13c85b944d9ccf7bfda69cae68df8f310bf4e.
fixed equipment model controller redirect