Merge pull request #406 from gopesht/fix_user_creation
Adds new method to admin/users controller
This commit is contained in:
commit
021b118c5c
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
module Admin
|
module Admin
|
||||||
class UsersController < ApplicationController
|
class UsersController < ApplicationController
|
||||||
before_filter :verify_admin
|
before_filter :verify_admin
|
||||||
|
def new
|
||||||
|
@user = User.new
|
||||||
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@users = User.all
|
@users = User.all
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue