Class: Doorkeeper::ApplicationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Doorkeeper::ApplicationController
- Defined in:
- app/controllers/doorkeeper/application_controller.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object (private)
25 26 27 28 29 30 31 |
# File 'app/controllers/doorkeeper/application_controller.rb', line 25 def method_missing(method, *args, &block) if method =~ /_(url|path)$/ raise "Your path has not been found. Didn't you mean to call routes.#{method} in doorkeeper configuration blocks?" else super end end |