name changes + refactoring in LastFM lib

This commit is contained in:
Thomas Buchöster
2011-06-08 03:49:13 +02:00
parent 47e38da04f
commit 8c892791ea
13 changed files with 50 additions and 56 deletions
-2
View File
@@ -3,8 +3,6 @@ Nineminutes::Application.configure do
# Reloads modules and files in lib directory
config.autoload_paths += %W(#{config.root}/lib)
config.autoload_paths += Dir["#{config.root}/lib/**/"]
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
+3
View File
@@ -0,0 +1,3 @@
ActionDispatch::Callbacks.to_prepare do
LastFM::Request::api_key = APP_CONFIG['lastfm_api_key']
end
-3
View File
@@ -1,3 +0,0 @@
ActionDispatch::Callbacks.to_prepare do
LastFM::LastFMRequest::api_key = APP_CONFIG['lastfm_api_key']
end