Skip to content

Commit

Permalink
Sass template location is now absolute.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcreux committed Apr 29, 2011
1 parent 25c88fd commit 8444635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def setup

# Setup SASS
require 'sass/plugin' # This must be required after initialization
Sass::Plugin.add_template_location(File.expand_path("../active_admin/stylesheets/", __FILE__), "public/stylesheets/admin")
Sass::Plugin.add_template_location(File.expand_path("../active_admin/stylesheets/", __FILE__), File.join(Rails.root, "public/stylesheets/admin"))
end

# Registers a brand new configuration for the given resource.
Expand Down

0 comments on commit 8444635

Please sign in to comment.