Changeset 1752

Show
Ignore:
Timestamp:
08/20/08 11:40:46 (3 months ago)
Author:
dbryson
Message:

included Bee Authorization Code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hive/trunk/data_webapp/config/environment.rb

    r1745 r1752  
    105105# Setup the WorkerBeeAuthorization filter. In Rails 2.1 this can be 
    106106# moved to a separate initializer 
    107 bee_config = YAML.load(ERB.new(IO.read("#{RAILS_ROOT}/config/worker_bee.yml")).result) 
    108 WorkerBeeAuthorization.configuration = bee_config["bee"] 
     107ActionController::Base.send(:include, WorkerBeeAuthorization)