activeadmin / inherited_resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in create redirect url

paulofelisbino opened this issue · comments

This code breaks if the form is submitted with errors:

/* redirect to edit page after creation */
def create
create!(:notice=> "Custom message"){ edit_os_path(@os) }
end

Why?

Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.