Font Awesome, jbuilder templates, getting rid of beatparser
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,3 +1,3 @@
|
||||
HoganAssets::Config.configure do |config|
|
||||
config.path_prefix = "backbone/templates/"
|
||||
config.path_prefix = "backbone/templates"
|
||||
end
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user