Skip to content

Commit

Permalink
Revert "Generate assets into the rails root"
Browse files Browse the repository at this point in the history
This reverts commit b1f557f.
  • Loading branch information
c-lliope committed Dec 14, 2015
1 parent ccb41e9 commit 667b69a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/generators/administrate/assets/images_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ImagesGenerator < Rails::Generators::Base
source_root File.expand_path("../../../../../", __FILE__)

def copy_partials
directory IMAGES_PATH, Rails.root.join(IMAGES_PATH)
directory IMAGES_PATH, IMAGES_PATH
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class JavascriptsGenerator < Rails::Generators::Base
source_root File.expand_path("../../../../../", __FILE__)

def copy_partials
directory JAVASCRIPTS_PATH, Rails.root.join(JAVASCRIPTS_PATH)
directory JAVASCRIPTS_PATH, JAVASCRIPTS_PATH
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class StylesheetsGenerator < Rails::Generators::Base
source_root File.expand_path("../../../../../", __FILE__)

def copy_partials
directory STYLESHEETS_PATH, Rails.root.join(STYLESHEETS_PATH)
directory STYLESHEETS_PATH, STYLESHEETS_PATH
end
end
end
Expand Down

0 comments on commit 667b69a

Please sign in to comment.