Created
October 5, 2016 15:44
-
-
Save yukas/b3d694de1b52fe05581320211378a461 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UsersController < ApplicationController | |
before_filter :set_user, only: [:show, :edit, :update] | |
def show | |
end | |
def edit | |
end | |
def update | |
end | |
private | |
def set_order | |
@user = User.find(params[:id]) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment