Merge settings & core indexes into a single nav
This commit is contained in:
@@ -4,11 +4,14 @@ class UsersController < ApplicationController
|
||||
def index
|
||||
authorize :user
|
||||
|
||||
@title = t("users.index.title")
|
||||
@users = User.all
|
||||
end
|
||||
|
||||
def edit
|
||||
authorize @user
|
||||
|
||||
@title = t("users.edit.title")
|
||||
end
|
||||
|
||||
def update
|
||||
|
||||
Reference in New Issue
Block a user