user roles starts
This commit is contained in:
1 parent
77386f0284
commit
5b39d10ac6
12 files changed
+13
-12
No files matched your search
@@ -1,10 +1,11 @@
|
||||
class Admin::RolesController < ApplicationController
|
||||
|
||||
layout "admin"
|
||||
layout "new_admin"
|
||||
before_filter :authenticate_user!
|
||||
before_filter :is_admin?
|
||||
before_filter :set_attribute, :only => [:index, :show, :new, :edit]
|
||||
|
||||
helper Admin::AttributeValuesViewHelper
|
||||
|
||||
def index
|
||||
@attributes = Role.all.entries
|
||||
render :template => 'admin/attributes/index'
|
||||
|
||||
Reference in new issue
Block a user