Sha256: 7f43ed4fafc5669b25b5b150d7705db4cd403c8e7d25948cf51443f88b8a6a58
Contents?: true
Size: 257 Bytes
Versions: 1
Compression:
Stored size: 257 Bytes
Contents
class UsersController < ApplicationController before_filter :load_user def edit end def update @user.update_attributes params[:user] @user.save render :edit end private def load_user @user = User.find params[:id] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_attachments-0.1.1 | test/app/controllers/users_controller.rb |