first cancan

This commit is contained in:
Aung Myo
2017-06-22 15:33:55 +06:30
parent 3d838bc989
commit 25b6a893f2
6 changed files with 26 additions and 16 deletions

View File

@@ -1,8 +1,6 @@
class Origami::CustomersController < BaseOrigamiController
#Form to add customer -
load_and_authorize_resource
def index
end
# GET /crm/customers/1

View File

@@ -1,4 +1,5 @@
class Origami::RequestBillsController < BaseOrigamiController
load_and_authorize_resource
# Print Request Bill and add to sale tables
def print
@sale = Sale.new