2012-03-10 176 views

回答

8

無效的語法是([email protected]=用於賦值,在方法調用中沒有用處。

if行應該是

<% if @current_user.email == @user.email %> 
+0

謝謝!我是一個初學者。 :L – 2012-03-10 01:14:30

2

<% if @current_user.email == @user.bio %>試試這個&看到。

相關問題