Displaying 2 results from an estimated 2 matches for "not_allowed".
2008 Aug 01
1
rescue_from ActionController::MethodNotAllowed
...asically, the following is defined in my controllers, but
obviously I''m missing something. Thanks in advance for any light you
can shed.
- - - - - - - - - - - - - - - - - - - -
class UsersController < ApplicationController
rescue_from ActionController::MethodNotAllowed, :with
=> :not_allowed
def not_allowed
flash[:message] = "The action you requested is not supported."
redirect_to welcome_path
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group....
2014 Sep 18
2
Asterisk prefix code to dial a high fraud country - security mechanism
Hello, I would to allow users to place calls overseas such as India and
Malaysia but only with a security code. if they don't have a security code
I want to be able to drop the calls.
can someone point me to a right direction to achieve this goal?
Thanks,
Motty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: