困りごと
このようなディレクトリがあります。
(Railsのログイン機能ライブラリdeviseです)
app/views/devise/shared app/views/devise/shared/_links.html.erb app/views/devise/confirmations app/views/devise/confirmations/new.html.erb app/views/devise/passwords app/views/devise/passwords/edit.html.erb app/views/devise/passwords/new.html.erb app/views/devise/registrations app/views/devise/registrations/edit.html.erb app/views/devise/registrations/new.html.erb app/views/devise/sessions app/views/devise/sessions/new.html.erb app/views/devise/unlocks app/views/devise/unlocks/new.html.erb ###########################ここは変えたくない。 app/views/devise/mailer app/views/devise/mailer/confirmation_instructions.html.erb app/views/devise/mailer/email_changed.html.erb app/views/devise/mailer/password_change.html.erb app/views/devise/mailer/reset_password_instructions.html.erb app/views/devise/mailer/unlock_instructions.html.erb ###########################ここは変えたくない。
html.erb から html.slim にするのですが...
$ for i in app/views/devise/**/*.erb; do erb2slim $i ${i%erb}slim && rm $i; done
を用いて、html.erb
からhtml.slim
に変換したいのですが、
app/views/devise/mailer/*****
は変換したくありません。
app/views/devise/mailer
ディレクトリのみ除く方法、ございませんでしょうか。
ご教授いただける方お願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2018/01/29 11:23
退会済みユーザー
2018/01/29 11:23