#487 ✓resolved
Josh

hobo_destroy dosn't pass options to destroy_response

Reported by Josh | August 15th, 2009 @ 12:17 AM

This is in hobo/hobo/lib/hobo/model_controller.rb line 607

 destroy_response(&b)

Options should be passed to destroy_response. Because of this, :redirect doesn't work:

def destroy

hobo_destroy :redirect => '/'

end

The issue is I'm using auto_actions_for :user with contacts. If I try to delete one it sends me back to the user's page and I want to redirect to contacts_for_user_url(current_user)

Thanks,

.....Josh.....

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages