Project

General

Profile

Bug #432

when deleting or creating a new share, @advanced is not defined

Added by cpg almost 11 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/01/2010
Due date:
% Done:

0%


Description

needs to be defined in the action, or looked up in the view.

otherwise we get

Processing ShareController#create (for 192.168.32.101 at 2010-02-01 00:38:32) [POST]
  Parameters: {"name"=>"Time Machine Backups", "visible"=>"", "action"=>"create", "authenticity_token"=>"dsfkjhdsfjkh=", "controller"=>"share", "create"=>" Create this Share ยป ", "path"=>"/mnt/1tb-sata-2/Time Machine Backups"}

ActionView::TemplateError (undefined method `value' for nil:NilClass) on line #81 of app/views/share/_share.html.erb:

Also available in: Atom