Skip to content

Commit

Permalink
hotfix so I can repair db on development
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywatts committed Sep 27, 2014
1 parent e04da32 commit 4df18f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def initialize(user)
# Define abilities for the passed in user here. For example:
#
# user ||= User.find_by(netid: session[:cas_user])
superusers = %w{ jl2463 sbt3 dz65 cb585 deg38 mrd25 cb785}
superusers = %w{csw3 jl2463 sbt3 dz65 cb585 deg38 mrd25 cb785}

if superusers.include? user.netid
can :manage, :all
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<%= link_to "#{current_user.full_name}", edit_user_path(current_user) if current_user %>
<%#= link_to "#{current_user.full_name}", edit_user_path(current_user) if current_user %>
</li>
</ul>
</div>

0 comments on commit 4df18f5

Please sign in to comment.