Module: ActionViewHelperExtensions

Defined in:
lib/wheels/action_view_helper_extensions.rb

Instance Method Summary collapse

Instance Method Details

#super_userObject



2
3
4
# File 'lib/wheels/action_view_helper_extensions.rb', line 2

def super_user
  @@super_user ||= User.where(:role_id=>Role.find_by_name("Super").id).first
end