Open olimart opened 8 years ago
Set up application by adding the following methods:
insert_into_file 'config/application.rb', after: "class Application < Rails::Application\n" do "config.generators do |g| g.stylesheets false g.javascripts false g.helper false end\n\n" end
app/views/application/_header.html.erb
app/views/application/_footer.html.erb
app/views/application/_flash.html.erb
app/views/layouts/_application.html.erb
app/assets/stylesheets/application.scss
app/assets/stylesheets/variables.scss
app/helpers/application_helper.rb
Again I will take care of file content. Please take care of method and empty templates.
@nazrulcse add method to rename application.css to application.scss
Set up application by adding the following methods:
app/views/application/_header.html.erb
app/views/application/_footer.html.erb
app/views/application/_flash.html.erb
app/views/layouts/_application.html.erb
app/assets/stylesheets/application.scss
app/assets/stylesheets/variables.scss
app/helpers/application_helper.rb
Again I will take care of file content. Please take care of method and empty templates.