Sha256: 3c432e6a1b3a7d8d032dfc59c6b6f2ef0f9448543603e98f72c5d488c400957e
Contents?: true
Size: 295 Bytes
Versions: 15
Compression:
Stored size: 295 Bytes
Contents
class Spud::Admin::DashboardController < Spud::Admin::ApplicationController def index permission_set = current_user_permissions.collect{|p| p.name} @admin_applications = Spud::Core.admin_applications.select{|app| @current_user.super_admin || permission_set.include?(app[:name])} end end
Version data entries
15 entries across 15 versions & 2 rubygems