Skip to content

Instantly share code, notes, and snippets.

@dangalipo
Created May 19, 2011 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dangalipo/980049 to your computer and use it in GitHub Desktop.
Save dangalipo/980049 to your computer and use it in GitHub Desktop.
def destroy
authorize! :destroy, @health_professional
@health_professional.destroy
respond_with @health_professional, :location => [ :manage, :health_professionals ]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment