1
1

More than 5 years have passed since last update.

How to eschew Deface error with Spree.

Posted at

Spree の日本語ドキュメントってホント少ないですよね…。
と嘆いていても仕方ないので、google グループに投稿してみました。

内容は

Deface: [ERROR] The original source for 'auth_shared_login_bar' has changed, this override should be reviewed to ensure it's still valid.

とゆーエラーが出てキモチ悪いんですけど。といったものですが、誰も答えてくれないorz
やっぱ英語がアレですから…。センター試験偏差値40切るくらいの勢いっすから…。TOEIC?なにそれおいしいの?

でまあ、自己解決しました。

コレを置けばオッケーです。

app/overrides/auth_login_bar.rb
Deface::Override.new(virtual_path: "spree/shared/_nav_bar",
                     name: "auth_shared_login_bar",
                     insert_before: "li#search-bar",
                     partial: "spree/shared/login_bar",
                     disabled: false,
                     original: 'c00d67dfc0496d21a351b48c41a728412cb5ed2c')

もし僕の英語のドコが悪かったのか教えようという奇特な方がいらっしゃいましたら、ご教示頂けますようお願い申し上げますm(__)m

1
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1