update ui for oqs and crm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class Crm::BookingsController < BaseCrmController
|
||||
class Crm::BookingsController < ApplicationController
|
||||
load_and_authorize_resource
|
||||
def update_booking
|
||||
booking = Booking.find(params[:booking_id])
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Crm::CustomersController < BaseCrmController
|
||||
class Crm::CustomersController < ApplicationController
|
||||
load_and_authorize_resource except: [:create]
|
||||
before_action :set_crm_customer, only: [:show, :edit, :update, :destroy]
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Crm::DiningQueuesController < BaseCrmController
|
||||
class Crm::DiningQueuesController < ApplicationController
|
||||
load_and_authorize_resource
|
||||
before_action :set_dining_queue, only: [:show, :edit, :update, :destroy]
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Crm::HomeController < BaseCrmController
|
||||
class Crm::HomeController < ApplicationController
|
||||
def index
|
||||
|
||||
@booking = Booking.all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Oqs::EditController < BaseOqsController
|
||||
class Oqs::EditController < ApplicationController#BaseOqsController
|
||||
def index
|
||||
assigned_item_id = params[:id]
|
||||
assigned_item = AssignedOrderItem.find(assigned_item_id)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Oqs::HomeController < BaseOqsController
|
||||
class Oqs::HomeController < ApplicationController#BaseOqsController
|
||||
def index
|
||||
|
||||
@queue_stations = OrderQueueStation.all
|
||||
|
||||
Reference in New Issue
Block a user