test/dummy/app/controllers/zones_controller.rb in epom_rails-1.0.0 vs test/dummy/app/controllers/zones_controller.rb in epom_rails-1.3.2

- old
+ new

@@ -51,8 +51,8 @@ @zone = Zone.find(params[:id]) end # Only allow a trusted parameter "white list" through. def zone_params - params.require(:zone).permit(:epom_id, :name, :description, :site_id) + params.require(:zone).permit(:epom_id, :name, :description, :publisher_id) end end