fixing tutorial it should be != to match code not ==
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
...
|
...
|
||||||
|
|
||||||
def admin_param
|
def admin_param
|
||||||
params[:id] == '1'
|
params[:id] != '1'
|
||||||
end
|
end
|
||||||
} %>
|
} %>
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user