validate error
This commit is contained in:
@@ -24,12 +24,10 @@ class Origami::CustomersController < BaseOrigamiController
|
||||
end
|
||||
# @crm_customers = Kaminari.paginate_array(@crm_customers).page(params[:page]).per(2)
|
||||
@crm_customer = Customer.new
|
||||
# @membership = Customer.get_member_group
|
||||
# if @membership["status"] == true
|
||||
# @member_group = @membership["data"]
|
||||
# end
|
||||
# puts "Errrrrrrrrrrrrrrrrr"
|
||||
# puts @crm_customer.valid?
|
||||
|
||||
if flash["errors"]
|
||||
@crm_customer.valid?
|
||||
end
|
||||
|
||||
|
||||
respond_to do |format|
|
||||
|
||||
Reference in New Issue
Block a user