redirect to index instead of show after create or save data
Only redirects to the root path, like so;
format.html { redirect_to root_path, notice: 'My Notice.' }
Hope this helps.
Just use redirect_to %url_helper_to_your_index%
instead of render :show
.