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