Class: Alchemy::Upgrader::SevenPointFour
- Inherits:
-
Alchemy::Upgrader
- Object
- Alchemy::Upgrader
- Alchemy::Upgrader::SevenPointFour
- Includes:
- Thor::Actions, Thor::Base
- Defined in:
- lib/alchemy/upgrader/seven_point_four.rb
Constant Summary
Constants included from Shell
Class Method Summary collapse
Methods inherited from Alchemy::Upgrader
Methods included from Shell
#add_todo, #desc, #display_todos, #log, silence!, silenced?, #todo, #todos, verbose!
Class Method Details
.update_custom_css_config ⇒ Object
12 13 14 15 16 17 |
# File 'lib/alchemy/upgrader/seven_point_four.rb', line 12 def update_custom_css_config if File.exist? "app/assets/config/manifest.js" log "Removing alchemy/admin/custom.css from assets config file." task.gsub_file "app/assets/config/manifest.js", %r{//= link alchemy/admin/custom.css\n}, "" end end |