我已經在我的控制器設定閃光消息像這樣軌道平移失蹤錯誤
flash[:error] = t 'auth.login.empty'
我en.yml文件有
en:
auth:
login:
success: "Successfully logged in"
empty: "Empty field cannot accespted"
error: "Username and password doesn't match"
全部是兩個space indent
我越來越閃光燈作爲translation missing: en.auth.login.empty
是否我必須做一些配置c hanges。
你試過重新啓動服務器嗎? – sevenseacat
把它關閉再次:) – micapam