Add is_ordering
This commit is contained in:
@@ -167,6 +167,6 @@ class Settings::MenusController < ApplicationController
|
||||
|
||||
# Never trust parameters from the scary internet, only allow the white list through.
|
||||
def settings_menu_params
|
||||
params.require(:menu).permit(:name, :is_active, :valid_days, :valid_time_to, :valid_time_from)
|
||||
params.require(:menu).permit(:name, :is_active, :is_ordering, :valid_days, :valid_time_to, :valid_time_from)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user