update coutomer controller
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -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'
|
||||
@@ -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!
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user