Quantcast

Redirect to requested page after succesful login

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Redirect to requested page after succesful login

Luis Fernando Naves Santoyo
Hi, i have never worked with ruby, but i have a  page that uses it, the problem is that i want to take a link and send it to other users, so that when the user clicks it the page detects that it haven't log in and redirect to the login page, after successful login the login page should redirect the user to the requested page.
the problem is that it redirecto to the home page after the login instead the requested page

this fucntionality is available in ASP.NET and PHP

the instructions says that new features should be writen by the requeted user, i don't know where to look to add this feature (lots of files and lines of code) if someone can give me directions i can try to make an update, i really don't know pearl but i can try to understand the specific lines of code

thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Redirect to requested page after succesful login

mukesh singh-4

On Thu, May 18, 2017 at 7:48 PM, Luis Fernando Naves Santoyo <[hidden email]> wrote:
Hi, i have never worked with ruby, but i have a  page that uses it, the problem is that i want to take a link and send it to other users, so that when the user clicks it the page detects that it haven't log in and redirect to the login page, after successful login the login page should redirect the user to the requested page.
the problem is that it redirecto to the home page after the login instead the requested page

this fucntionality is available in ASP.NET and PHP

the instructions says that new features should be writen by the requeted user, i don't know where to look to add this feature (lots of files and lines of code) if someone can give me directions i can try to make an update, i really don't know pearl but i can try to understand the specific lines of code

thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.



--
Regards
Mukesh Paras Singh

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Redirect to requested page after succesful login

radhames brito
Hi Luis, can you provide a bit more information about the application you have, like what gems you are using for authentication? 

On Thu, May 18, 2017 at 10:40 AM, Mukesh Singh <[hidden email]> wrote:

On Thu, May 18, 2017 at 7:48 PM, Luis Fernando Naves Santoyo <[hidden email]> wrote:
Hi, i have never worked with ruby, but i have a  page that uses it, the problem is that i want to take a link and send it to other users, so that when the user clicks it the page detects that it haven't log in and redirect to the login page, after successful login the login page should redirect the user to the requested page.
the problem is that it redirecto to the home page after the login instead the requested page

this fucntionality is available in ASP.NET and PHP

the instructions says that new features should be writen by the requeted user, i don't know where to look to add this feature (lots of files and lines of code) if someone can give me directions i can try to make an update, i really don't know pearl but i can try to understand the specific lines of code

thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.



--
Regards
Mukesh Paras Singh

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Redirect to requested page after succesful login

T.J. Schuck
Hey everyone!

This mailing list (rubyonrails-core) is intended for discussion about development of the framework itself, not usage of it.

For support issues or usage questions like this one that are not issues with Rails itself, please post to the rubyonrails-talk mailing list (http://groups.google.com/group/rubyonrails-talk) or somewhere like StackOverflow using the `ruby-on-rails` tag (http://stackoverflow.com/questions/tagged/ruby-on-rails).  You can also drop in to the #rubyonrails channel on irc.freenode.net for realtime help.  You'll be more likely to get a quick answer using one of those options.

That said, if any of the current participants want to keep helping out Luis, feel free to keep communicating off-list.

Cheers,
T.J.

On Thu, May 18, 2017 at 11:23 AM, radhames brito <[hidden email]> wrote:
Hi Luis, can you provide a bit more information about the application you have, like what gems you are using for authentication? 

On Thu, May 18, 2017 at 10:40 AM, Mukesh Singh <[hidden email]> wrote:

On Thu, May 18, 2017 at 7:48 PM, Luis Fernando Naves Santoyo <[hidden email]> wrote:
Hi, i have never worked with ruby, but i have a  page that uses it, the problem is that i want to take a link and send it to other users, so that when the user clicks it the page detects that it haven't log in and redirect to the login page, after successful login the login page should redirect the user to the requested page.
the problem is that it redirecto to the home page after the login instead the requested page

this fucntionality is available in ASP.NET and PHP

the instructions says that new features should be writen by the requeted user, i don't know where to look to add this feature (lots of files and lines of code) if someone can give me directions i can try to make an update, i really don't know pearl but i can try to understand the specific lines of code

thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.



--
Regards
Mukesh Paras Singh

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
Loading...