mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-08 06:02:47 -04:00
improved coding
This commit is contained in:
1 parent
ad6c1ba2dc
commit
9f33f497bc
1 file changed
+1
-1
@@ -61,7 +61,7 @@ class MembersController < ApplicationController
|
||||
|
||||
@member = Member.find(decrypted_message[:member_id])
|
||||
@type = decrypted_message[:type]
|
||||
@member.update_attributes(@type => false)
|
||||
@member.update(@type => false)
|
||||
|
||||
flash.now[:notice] = "You have been unsubscribed from #{EMAIL_TYPE_STRING[@type]} emails."
|
||||
|
||||
|
||||
Reference in new issue
Block a user