diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a12275a..81a0196 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -9,8 +9,6 @@ class ApplicationController < ActionController::Base rescue_from ActiveRecord::RecordNotFound, :with => :not_found rescue_from CanCan::AccessDenied, :with => :access_denied - # FIXME - remove it for final release - before_filter :beta protected def current_user_session @@ -26,13 +24,6 @@ def signed_in? end private - # FIXME - remove it for final release - def beta - authenticate_or_request_with_http_basic do |username, password| - username == "beta" && password == YAML.load_file(File.join(RAILS_ROOT, 'tmp', 'pass.yml'))["password"] - end - end - def access_denied render 'static/access_denied', :status => 401 end @@ -40,4 +31,4 @@ def access_denied def not_found render 'static/not_found', :status => 404 end -end +end \ No newline at end of file