Class: Jobshop::PagesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Jobshop::PagesController
- Defined in:
- app/controllers/jobshop/pages_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#show ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/jobshop/pages_controller.rb', line 7 def show args = valid_page? ? [ template: page ] : [ file: "public/404.html", status: :not_found ] render(*args) end |