Sha256: edabb772243cc35b3866866a026242fc5f4772773d0b35c92eff56c3837a1433

Contents?: true

Size: 167 Bytes

Versions: 4

Compression:

Stored size: 167 Bytes

Contents

module Enki
  class PagesController < BaseController
    def show
      @page = Page.find_by_slug(params[:id]) || raise(ActiveRecord::RecordNotFound)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 app/controllers/enki/pages_controller.rb
enki-engine-0.0.4 app/controllers/enki/pages_controller.rb
enki-engine-0.0.3 app/controllers/enki/pages_controller.rb
enki-engine-0.0.2 app/controllers/enki/pages_controller.rb