Class: My::WechatUsersController
- Inherits:
-
BaseController
- Object
- BaseController
- My::WechatUsersController
- Defined in:
- app/controllers/wechat/my/wechat_users_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
21 22 23 |
# File 'app/controllers/wechat/my/wechat_users_controller.rb', line 21 def destroy @wechat_user.destroy end |
#edit ⇒ Object
8 9 |
# File 'app/controllers/wechat/my/wechat_users_controller.rb', line 8 def edit end |
#show ⇒ Object
5 6 |
# File 'app/controllers/wechat/my/wechat_users_controller.rb', line 5 def show end |
#update ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'app/controllers/wechat/my/wechat_users_controller.rb', line 11 def update @wechat_user.assign_attribute wechat_user_params if @wechat_user.save redirect_to wechat_users_url else render :edit end end |