Font Awesome, jbuilder templates, getting rid of beatparser

This commit is contained in:
Gregory Eremin
2012-09-09 17:48:24 +04:00
parent be5a643b55
commit 9cb145f0d7
42 changed files with 520 additions and 233 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ require "sprockets/railtie"
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(:assets => %w(development test)))
Bundler.require(*Rails.groups(:assets => %w[ development test ]))
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end
+2 -1
View File
@@ -33,5 +33,6 @@ BeatHaven::Application.configure do
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
config.assets.debug = false
config.assets.logger = nil
end
+1 -1
View File
@@ -25,7 +25,7 @@ BeatHaven::Application.configure do
# Specifies the header that your server uses for sending files
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true
+1 -1
View File
@@ -1,3 +1,3 @@
HoganAssets::Config.configure do |config|
config.path_prefix = "backbone/templates/"
config.path_prefix = "backbone/templates"
end
+1 -1
View File
@@ -1,6 +1,6 @@
BeatHaven::Application.routes.draw do
namespace :api do
resources :artists, only: [:show], constraints: { id: /.+/ }
resources :artists, only: [:show], constraints: { id: /.+/ }, format: :json
resources :albums, only: [:show, :picture] do
member { get :picture }
end