added AJAX nav, load more, new design, ...
This commit is contained in:
+15
-1
@@ -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"
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
output_style = RAILS_ENV == "production" ? :compressed : :nested
|
||||
|
||||
Sass::Plugin.options[:style] = output_style
|
||||
+7
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user