rails/rails.rb in bulldog-0.0.15 vs rails/rails.rb in bulldog-0.1.0
- old
+ new
@@ -5,10 +5,11 @@
module Rails
class << self
def init(config_path, rails)
config = read_config(config_path, rails.env)
set_logger(config, rails.logger)
+ Bulldog.path_root = rails.public_path
set_attribute config, :default_path_template
set_attribute config, :default_url_template
set_attribute config, :convert_path
set_attribute config, :identify_path
set_attribute config, :ffmpeg_path
@@ -38,10 +39,9 @@
end
def define_interpolations(rails)
Bulldog.to_interpolate(:rails_root){rails.root}
Bulldog.to_interpolate(:rails_env){rails.env}
- Bulldog.to_interpolate(:public_path){rails.public_path}
end
end
end
end