def create
      @menu = Menu.new(menu_params)

      respond_to do |format|

        if @menu.save
          format.html { redirect_to edit_admin_menu_path(@menu), notice: I18n.t("controllers.admin.menus.create.flash.success")}
        else
          format.html {
            @all_menus = Menu.all
            render action: "index"
          }
        end

      end
    end
def create
      @menu = Menu.new(menu_params)

      respond_to do |format|

        if @menu.save
          format.html { redirect_to edit_admin_menu_path(@menu), notice: I18n.t("controllers.admin.menus.create.flash.success")}
        else
          format.html {
            @all_menus = Menu.all
            render action: "index"
          }
        end

      end
    end
create a new (empty) menu object from the form on the index page.