class Avo::ApplicationController

def on_api_path

def on_api_path
  request.original_url.match?(/.*#{Avo::App.root_path}\/avo_api\/.*/)
end