mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Adds 'new' method to admin/users controller, to render new user template, fixes #380
This commit is contained in:
parent
501494d3f1
commit
9dd866f17d
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
module Admin
|
||||
class UsersController < ApplicationController
|
||||
before_filter :verify_admin
|
||||
def new
|
||||
@user = User.new
|
||||
end
|
||||
|
||||
def index
|
||||
@users = User.all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue