test/templates/app/controllers/admin/countries_controller.rb in dry_crud-1.5.0 vs test/templates/app/controllers/admin/countries_controller.rb in dry_crud-1.6.0

- old
+ new

@@ -3,12 +3,11 @@ self.nesting = :admin self.search_columns = :name, :code def show - respond_to do |format| - format.html { redirect_to_index flash.to_hash } - format.json { render :json => entry } + super do |format| + format.html { redirect_to index_url, flash.to_hash } end end end \ No newline at end of file