I have a class method in application\_controller.rb: 

```
def self.method1
  path = some_path
end

```

Now it seems I can't access some\_path since usually I'll need to use route in a controller (instance method). 

What is the best way to access routes here? 

Thanks