app/controllers/openstax/connect/dev/dev_controller.rb in openstax_connect-0.0.2 vs app/controllers/openstax/connect/dev/dev_controller.rb in openstax_connect-0.0.3

- old
+ new

@@ -3,9 +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? } \ No newline at end of file