Permalink
Browse files

fixes for heroku

  • Loading branch information...
1 parent d09fbf5 commit 54acdfe396491a5de986885c99193b257b1e5087 @marcgg committed Apr 9, 2011
Showing with 11 additions and 2 deletions.
  1. +7 −1 app/views/layouts/front.html.haml
  2. +2 −0 config.ru
  3. +1 −1 config/compass.rb
  4. +1 −0 config/initializers/compass.rb
View
8 app/views/layouts/front.html.haml
@@ -20,5 +20,11 @@
%footer
+ / If really necessary, removing credits can be done by contacting us directly.
+ / In the meantime, do not remove credits using CSS or face our wrath.
+ / Feel free to style it, just keep it visible somehow.
#footest
- Portfolio powered by RLVNT, original theme by @marcgg
+ %span.rlvnt
+ Portfolio powered by RLVNT
+ %span.theme
+ Original theme by @marcgg underline license Creative Commons
View
2 config.ru
@@ -1,4 +1,6 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
+use Rack::Static, :urls => ["/stylesheets/compiled"], :root => "tmp"
+
run Prtfl::Application
View
2 config/compass.rb
@@ -4,7 +4,7 @@
project_path = Compass::AppIntegration::Rails.root
# Set this to the root of your project when deployed:
http_path = "/"
-css_dir = "public/stylesheets/compiled"
+css_dir = "tmp/stylesheets/compiled"
sass_dir = "app/stylesheets"
environment = Compass::AppIntegration::Rails.env
# To enable relative paths to assets via compass helper functions. Uncomment:
View
1 config/initializers/compass.rb
@@ -1,3 +1,4 @@
require 'compass'
require 'compass/app_integration/rails'
Compass::AppIntegration::Rails.initialize!
+

0 comments on commit 54acdfe

Please sign in to comment.