Try making it a string, when it is an atom then the controller thinks it is a 
module.

- Marc


> On 29 Nov 2016, at 11:50, heiheshang <[email protected]> wrote:
> 
> folder
> 
> вторник, 29 ноября 2016 г., 2:05:58 UTC+9 пользователь Marc Worrell написал:
> What is the “my” root?
> 
> - Marc
> 
>> On 28 Nov 2016, at 17:18, heiheshang <[email protected] <javascript:>> 
>> wrote:
>> 
>> allow a user to download files? I did dispath but get forbiden
>> {my_download, [ "my", '*' ], controller_file, [ {root, [my]}, 
>> {content_disposition,attachment}, {ssl,true}, {acl, is_auth} ]}
>> 
>> 
>> 
>> 
>> -- 
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Zotonic developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to