lib/rehearsal.rb in rehearsal-0.9.0 vs lib/rehearsal.rb in rehearsal-0.9.1
- old
+ new
@@ -24,10 +24,10 @@
private
def require_http_basic_auth
authenticate_or_request_with_http_basic do |username, password|
username == self.username && password == self.password
- end# if staging?
+ end if staging?
end
def staging?
Rails.env.staging?
end