Source: show
# File rhino/rhino/app/controllers/rhino/account_controller.rb 12 def show 13 @model = authorize_resource 14 15 permit_and_render 16 end
# File rhino/rhino/app/controllers/rhino/account_controller.rb 18 def update 19 @model = authorize_resource 20 @model.update!(permit_and_transform) 21 22 permit_and_render 23 end