Created
March 23, 2014 16:52
-
-
Save aep/9725938 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after_action :verify_authorized | |
# DELETE /applications/1 | |
# DELETE /applications/1.json | |
def destroy | |
@app.destroy | |
respond_to do |format| | |
format.html { redirect_to apps_url } | |
format.json { head :no_content } | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment