Permalink
Browse files

Fix model export path

  • Loading branch information...
1 parent 66a7311 commit 3d586ad64fbf86571d3447cf2cedafa5471a017f @karlbright karlbright committed Oct 19, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 app/models/stylesheet.rb
View
@@ -4,11 +4,7 @@ class Stylesheet < ActiveRecord::Base
TEMPLATE_PATH_ROOT = Rails.root.join 'app', 'assets', 'whatlock'
TEMPLATE_BASE_FILENAME = 'whatlock.css.sass.erb'
- if Rails.env.production?
- EXPORT_PATH_ROOT = Rails.root.join 'tmp'
- else
- EXPORT_PATH_ROOT = Rails.root.join 'public', 'stylesheets'
- end
+ EXPORT_PATH_ROOT = Rails.root.join 'tmp'
attr_accessible :author, :options, :primary_color, :version

0 comments on commit 3d586ad

Please sign in to comment.