added AJAX nav, load more, new design, ...

This commit is contained in:
Tobias Klika
2011-06-06 14:25:16 +02:00
parent 00e1b4bdd3
commit 02199996cc
115 changed files with 2093 additions and 1698 deletions
+15 -1
View File
@@ -33,7 +33,21 @@ module Nineminutes
# config.i18n.default_locale = :de
# JavaScript files you want as :defaults (application.js is always included).
config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails jqueryPlugins player)
config.action_view.javascript_expansions[:defaults] =
%w(
jquery
plugins/rails
config
plugins/bing
animations/coloranimations
plugins/nivoslider
plugins/imageresize
animations/animations
plugins/path
ajax/routes
layout
ajax/loadmore
)
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
+3
View File
@@ -0,0 +1,3 @@
output_style = RAILS_ENV == "production" ? :compressed : :nested
Sass::Plugin.options[:style] = output_style
+7 -1
View File
@@ -6,8 +6,14 @@ Nineminutes::Application.routes.draw do
end
get "tracks/index"
get "artists/get_artists", :as => "get_artists"
match "/artists/:artist", :to => "artists#show"
match "/artists_more_tracks", :to => "artists#more_tracks"
match "/artists_more_albums", :to => "artists#more_albums"
match "/artists_more_similar", :to => "artists#more_similar"
get "artists/", :to => "artists#index"
resources :artists, :constraints => { :id => /.*/ }
#resources :artists, :constraints => { :id => /.*/ }
resources :search
resources :home
resources :users