add menu api

This commit is contained in:
Yan
2017-08-17 18:55:13 +06:30
parent f2829fab0f
commit 29b3f94573
26 changed files with 84 additions and 168 deletions

View File

@@ -69,6 +69,6 @@ class Settings::ItemSetsController < ApplicationController
# Never trust parameters from the scary internet, only allow the white list through.
def settings_item_set_params
params.require(:item_set).permit(:name, :min_selectable_qty, :max_selectable_qty)
params.require(:item_set).permit(:name, :alt_name, :min_selectable_qty, :max_selectable_qty)
end
end