class AbstractController::Base

def _valid_action_name?(action_name)

Checks if the action name is valid and returns false otherwise.
def _valid_action_name?(action_name)
  !action_name.to_s.include? File::SEPARATOR
end