app/controllers/openstax/connect/dev/dev_controller.rb in openstax_connect-0.0.10 vs app/controllers/openstax/connect/dev/dev_controller.rb in openstax_connect-0.1.0

- old
+ new

@@ -3,14 +3,11 @@ module OpenStax module Connect module Dev class DevController < ApplicationController - skip_before_filter :authenticate_user! - before_filter Proc.new{ - raise SecurityTransgression unless !Rails.env.production? || - current_user.is_administrator? + raise SecurityTransgression if Rails.env.production? } end end end \ No newline at end of file