Artist import, page

This commit is contained in:
Gregory Eremin
2012-08-27 03:53:30 +04:00
parent 235c0b809e
commit b5f616a9d9
36 changed files with 1268 additions and 312 deletions
+13
View File
@@ -0,0 +1,13 @@
File.open("#{Rails.root}/config/api_keys.yml") do |file|
config = YAML.load(file.read)
LastFM.api_key = config["lastfm"]["api_key"]
LastFM.secret = config["lastfm"]["api_secret"]
LastFM.client_name = config["lastfm"]["client_name"]
Robbie.setup(
api_key: config["rovi"]["api_key"],
api_secret: config["rovi"]["api_secret"]
)
Robbie.enable_cache
end
+3
View File
@@ -0,0 +1,3 @@
HoganAssets::Config.configure do |config|
config.path_prefix = "backbone/templates/"
end