instance method
create_actiontext_files
Ruby on Rails 8.1.2
Since v6.1.7.10Signature
create_actiontext_files()
No documentation comment.
Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 38
def create_actiontext_files
template "actiontext.css", "app/assets/stylesheets/actiontext.css"
gem_root = "#{__dir__}/../../../.."
copy_file "#{gem_root}/app/views/active_storage/blobs/_blob.html.erb",
"app/views/active_storage/blobs/_blob.html.erb"
copy_file "#{gem_root}/app/views/layouts/action_text/contents/_content.html.erb",
"app/views/layouts/action_text/contents/_content.html.erb"
end
Defined in actiontext/lib/generators/action_text/install/install_generator.rb line 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Generators::InstallGenerator