Commit 19ff2dc0d7f8434c3cdd244ca080e06cae7c00e8
1 parent
e83ad9f5
Exists in
master
and in
1 other branch
remove unnecessary actions
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
app/controllers/users_controller.rb
... | ... | @@ -9,17 +9,10 @@ class UsersController < ApplicationController |
9 | 9 | @users = User.all.page(params[:page]).per(current_user.per_page) |
10 | 10 | end |
11 | 11 | |
12 | - def show | |
13 | - @user = User.find(params[:id]) | |
14 | - end | |
15 | - | |
16 | 12 | def new |
17 | 13 | @user = User.new |
18 | 14 | end |
19 | 15 | |
20 | - def edit | |
21 | - end | |
22 | - | |
23 | 16 | def create |
24 | 17 | @user = User.new(params[:user]) |
25 | 18 | ... | ... |