Hallo,
I have problem with component. I am newbe too...
I have component view my.load with this content:
<h3>Events:</h3>
{{for row in users_and_events(db.registrations.registered_user==auth.user_id).select():}}
{{=A(row.s_events.title, _href=URL('show', args=row.s_events.id))}} <br>
{{pass}}
In view where I can use component I have:
{{if session.auth:}}
{{=LOAD('event','my.load',ajax=True)}}
{{pass}}
I want to show URL like this:
http://127.0.0.1:8000/events/event/show/16
But results is
http://127.0.0.1:8000/events/event/show.load/16
How to achieve right URL?
Thanks