t
This commit is contained in:
parent
f5015de9df
commit
967cbb3f51
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class ItemsController < ApplicationController
|
|||
|
||||
@user = current_user
|
||||
|
||||
if params[:initem]
|
||||
if params[:initem] != ""
|
||||
@item = Item.find(params[:initem])
|
||||
else
|
||||
@item = Item.new()
|
||||
|
|
Loading…
Reference in a new issue