update coutomer controller

This commit is contained in:
Aung Myo
2017-06-06 09:47:24 +06:30
parent b54a19cfff
commit 6ecf791673
3 changed files with 7 additions and 0 deletions

View File

@@ -91,3 +91,5 @@ end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem 'httparty', '~> 0.15.5'

View File

@@ -92,6 +92,8 @@ GEM
railties (>= 3.2, < 5.2)
globalid (0.4.0)
activesupport (>= 4.2.0)
httparty (0.15.5)
multi_xml (>= 0.5.2)
i18n (0.8.4)
jbuilder (2.6.4)
activesupport (>= 3.0.0)
@@ -114,6 +116,7 @@ GEM
mini_portile2 (2.1.0)
minitest (5.10.2)
multi_json (1.12.1)
multi_xml (0.6.0)
mysql2 (0.4.6)
nio4r (2.1.0)
nokogiri (1.7.2)
@@ -247,6 +250,7 @@ DEPENDENCIES
factory_girl_rails (~> 4.0)
faker
font-awesome-rails
httparty (~> 0.15.5)
jbuilder (~> 2.5)
jquery-rails
kaminari!

View File

@@ -15,6 +15,7 @@ class Crm::CustomersController < ApplicationController
# GET /crm/customers/new
def new
@crm_customer = Customer.new
@membership = Customer.get_member_group
end
# GET /crm/customers/1/edit