Class: Ckpages::AscendantController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Ckpages::AscendantController
- Defined in:
- app/controllers/ckpages/ascendant_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/ckpages/ascendant_controller.rb', line 7 def show if @page.redirect_url? redirect_to @page.redirect_url, status: 301 end end |