Thank you very much for the help!  I finally decided to keep using
parameter-based rewrite setup, as it's easier for me to understand, and it
allows me to achieve what I need.
So I'm using "index" as the default function, that renders the index.html
if there is no arg (that is, the home page of my site), and if there is an
arg, the function uses the store.html view.
Thanks again!


2014-07-15 11:02 GMT-03:00 Anthony <abasta...@gmail.com>:

> However now, I can only access home page through /index but not through /
>
> ¿Is this possible to achieve?
>>
>
> You can only have one default function per controller, so for something
> like that, you would probably need a more complex pattern-based rewrite
> setup.
>
>
>> ¿Or should I change default_function to "index" and manage there the arg
>> that points me to the store?
>>
>
> Yes, or if you don't like seeing "index" in the URL, maybe change it to
> something like "home".
>
> Anthony
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/I1W3zXNIcdA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to