Skip to content
This repository
Browse code

What part about not deploying at 2am did I not understand?

  • Loading branch information...
commit 9d18e0f01d052d3c94c7b9f83422d087fd3dcbce 1 parent 4141c68
Sudara authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 app/controllers/application_controller.rb
4 app/controllers/application_controller.rb
@@ -107,11 +107,11 @@ def authorized?
107 107 # authorization tricks
108 108
109 109 def moderator?
110   - logged_in? && moderator?
  110 + logged_in? && current_user.moderator?
111 111 end
112 112
113 113 def moderator_required
114   - login_required && moderator?
  114 + login_required && current_user.moderator?
115 115 end
116 116
117 117 def admin_required

0 comments on commit 9d18e0f

Please sign in to comment.
Something went wrong with that request. Please try again.