Changeset 1752
- Timestamp:
- 08/20/08 11:40:46 (3 months ago)
- Files:
-
- hive/trunk/data_webapp/config/environment.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hive/trunk/data_webapp/config/environment.rb
r1745 r1752 105 105 # Setup the WorkerBeeAuthorization filter. In Rails 2.1 this can be 106 106 # 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"] 107 ActionController::Base.send(:include, WorkerBeeAuthorization)
