Hi,
I have mobile web under mobile controller.
And While coming to mobile/index page i need to detect the OS, if the OS
is android redirect to android page and if OS is ios redirect to ios
page.
This i done using before_filter : detect_os
and the pages are redirected properly
My worry is,
under iphone page and android page, i have a button called "No thanks"
and if user clicks on "no thanks" button it should load "mobile/index"
page...
But as i have filter detect_os for index page it loops again and again
if i click "no thanks" button.
Kindly suggest me to skip filter(detect_os) and load mobile/index if
user clicks on "no thanks"
thanks in advance
Regards,
Jose
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment