class RailsPixrem::Railtie

Public Instance Methods

configuration(app) click to toggle source
# File lib/rails-pixrem/railtie.rb, line 10
def configuration(app)
  file = app.root.join('config/pixrem.yml')
  file.exist? ? YAML.load_file(file).symbolize_keys : {}
end