lib/firstjob/career_status.rb in firstjob-1.0.0 vs lib/firstjob/career_status.rb in firstjob-1.0.1
- old
+ new
@@ -1,7 +1,7 @@
module Firstjob
class CareerStatus
- CAREER_STATUSES = YAML.load_file("lib/data/career_statuses.yaml")["career_statuses"].symbolize_keys!
+ CAREER_STATUSES = YAML.load_file(File.join(File.dirname(__FILE__),"../data/career_statuses.yaml"))["career_statuses"].symbolize_keys!
# Poor's man all
def self.all
CAREER_STATUSES
end