edit ticket controller
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class UsersController < ApplicationController
|
||||
skip_before_filter :verify_authenticity_token
|
||||
before_action :authenticate_member!
|
||||
before_action :set_user, only: [:show, :edit, :update, :destroy]
|
||||
|
||||
# GET /users
|
||||
@@ -32,7 +33,7 @@ class UsersController < ApplicationController
|
||||
key=cipher.random_key
|
||||
secrect_key= Base64.encode64(key)
|
||||
@user.secrect_key=secrect_key
|
||||
|
||||
@email=email
|
||||
respond_to do |format|
|
||||
if @user.save
|
||||
member_id= current_member.id
|
||||
|
||||
Reference in New Issue
Block a user