Merge 16de834243 into 5be1ad52ee
This commit is contained in:
commit
a6ec137fca
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,11 @@ module Admin
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def create
|
||||||
|
@user = User.create(params[:user])
|
||||||
|
redirect_to admin_users_path, notice: "User created with #{@user.name} (#{@user.email})!"
|
||||||
|
end
|
||||||
|
|
||||||
def edit; end
|
def edit; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue