Sha256: 37345c9462f83ad7aa586695ac41b2e2584e4fe21b9142c7bc41c05ff37e0cb6
Contents?: true
Size: 356 Bytes
Versions: 2
Compression:
Stored size: 356 Bytes
Contents
module Enlightenment class PagesController < Enlightenment::ApplicationController respond_to :html layout :pages_layout def show super end private def pages_layout Enlightenment.pages_layout end # handles deprecation warning. def path super.sub(/\.html$/, '') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enlightenment-0.0.1.pre.4 | app/controllers/enlightenment/pages_controller.rb |
enlightenment-0.0.1.pre.3 | app/controllers/enlightenment/pages_controller.rb |