app/controllers/effective/customers_controller.rb
# Get here by visiting /customer/settings
Get here by visiting /customer/settings
Get here by visiting / customer / settings
def edit
      @customer = Effective::Customer.where(user: current_user).first!
      EffectiveOrders.authorized?(self, :edit, @customer)
      @subscripter = Effective::Subscripter.new(customer: @customer, user: @customer.user)
      @page_title ||= "Customer #{current_user.to_s}"
    end
def edit @customer = Effective :: Customer . where ( user : current_user ) . first! EffectiveOrders . authorized? ( self , :edit , @customer ) @subscripter = Effective :: Subscripter . new ( customer : @customer , user : @customer . user ) @page_title ||= "Customer #{current_user.to_s}" end
Get here by visiting /customer/settings
Get here by visiting / customer / settings