Skip to content

Commit

Permalink
Convert the views from erb to haml
Browse files Browse the repository at this point in the history
  • Loading branch information
avogel3 committed Sep 17, 2018
1 parent 2eeaef3 commit 7e999ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ rails new APP_NAME -m https://raw.githubusercontent.com/avogel3/rails-template/m

* Set up Devise for authorization and add the devise model `User`
* Set up RSpec as the test framework
* Changes the views from erb to haml
* Runs `bundle install`
* Creates and migrates the database
* Adds a commit for the template generator
Expand Down
2 changes: 2 additions & 0 deletions template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@

run 'touch .env.example'

run 'HAML_RAILS_DELETE_ERB=true rake haml:erb2haml'

git add: '.'
git commit: "-m 'Generate project with template - github.com/avogel3/rails-template'"

0 comments on commit 7e999ce

Please sign in to comment.