diff --git a/app/controllers/settings/tables_controller.rb b/app/controllers/settings/tables_controller.rb index 913ef57e..f0f5f4ac 100755 --- a/app/controllers/settings/tables_controller.rb +++ b/app/controllers/settings/tables_controller.rb @@ -60,7 +60,7 @@ class Settings::TablesController < ApplicationController def destroy @settings_table.destroy flash[:notice] = 'Table was successfully destroyed.' - render :json => {:status=> "Success", :url => settings_zone_path(@zone) }.to_json + render :json => {:status=> "Success", :url => settings_zones_path(@zone) }.to_json # respond_to do |format| # format.html { redirect_to settings_zone_path(@zone), notice: 'Table was successfully destroyed.' } # format.json { head :no_content }