Class: Thoth::Controller
- Inherits:
-
Ramaze::Controller
- Object
- Ramaze::Controller
- Thoth::Controller
- Defined in:
- lib/thoth/controller.rb
Direct Known Subclasses
AdminController, ArchiveController, CommentApiController, CommentController, MainController, MediaController, PageApiController, PageController, PostApiController, PostController, SearchController, TagApiController, TagController
Class Method Summary collapse
-
.action_missing(path) ⇒ Object
Displays a custom 404 error when a nonexistent action is requested.
Class Method Details
.action_missing(path) ⇒ Object
Displays a custom 404 error when a nonexistent action is requested.
39 40 41 42 |
# File 'lib/thoth/controller.rb', line 39 def self.action_missing(path) return if path == '/error_404' try_resolve('/error_404') end |