Module: Baurets::Optionsful::Introspections

Defined in:
lib/baurets/optionsful/introspections.rb

Class Method Summary collapse

Class Method Details

.do_the_matches(path_info) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'lib/baurets/optionsful/introspections.rb', line 5

def self.do_the_matches(path_info)
  routes = gimme_routes
  allow = ""
  allow = match_verbs_tabajara(path_info)
  if allow.empty?
    allow = do_rails_recognition(path_info)
  end
  allow
end