Skip to content

Commit

Permalink
BaseController: pass index_url as param to success_url
Browse files Browse the repository at this point in the history
  • Loading branch information
miks committed Feb 13, 2015
1 parent 3a91bb4 commit 73a0b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releaf-core/app/controllers/releaf/base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def permitted_params
#
# @return [String] url
def success_url
url_for( action: 'edit', id: @resource.id )
url_for( action: 'edit', id: @resource.id, index_url: index_url)
end

# returns all params except :controller, :action and :format
Expand Down

0 comments on commit 73a0b15

Please sign in to comment.