relation_list.rb revision 0b611cf877554b1aa910fa23099220f2d1d15e89
#
# Helper-Class for rendering a list of relations
#
#
# first argument: restful path to the collection of related objects
# second argument: options hash that may contain the following elements:
#
# :scope => scope for the autocompleter
# :model => class that represents the relation
# :association => name of the activerecord-association
# :collection => collection of all permissions
@editable = true
case key
value.each do |v|
end
else
end
end
# check required attributes
end
end
end
# path for rendering a PermissionsList instance
end
end
end
# path to a specific partial of the permission list
"#{model_underscore.pluralize}/#{name}"
end
end
end
{
}
end
end