
general redirect back logic for adva
Reported by Priit Tamboom | January 6th, 2009 @ 10:12 AM
I need redirect back logic for adva and think it might be useful for other engines as well, so I'll implement it to adva-cms as general.
Use case: for example when admin adds new subscribers but there is no site users. At the moment, admin is redirected to add new user but he/she has manually go back to newsletter subscription page. It's annoying, so some smart redirect back would be handy.
I will wait for few days, and if no-one is against, will implement it for adva-cms.
Comments and changes to this ticket
-
Priit Tamboom January 7th, 2009 @ 03:24 PM
- Assigned user changed from Priit Tamboom to Sven Fuchs
What do you think about it? Should I take it to my ticket queue? There is no harry with it, but would be handy.
-
Sven Fuchs January 8th, 2009 @ 12:16 AM
Hey Priit,
I'm not sure I understand what you mean by "smart redirect", but have you seen the :return_to parameter that's being used in some places? E.g. Admin::BaseController#redirect_to_login
Is that what you mean?
Also, maybe take a look at the #return_from method on the same controller and how it's used ...
-
Marko Seppä June 18th, 2009 @ 09:50 AM
- State changed from new to resolved
I think we are using the :return_to param for this, and I guess this is not a problem anymore so I am closing the ticket.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>
<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>
<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>