Sha256: f0cdd74ef944d084d40ce785ff83457aa6c51e907a5e44361b2a1c6f451039c8

Contents?: true

Size: 185 Bytes

Versions: 7

Compression:

Stored size: 185 Bytes

Contents

class PagesController < ApplicationController
  include WebsiteSettings
  include NotFound

  def show
    @object = Character::Page.find_by(path: '/' + (params[:path] || ''))
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
character-1.0.6 app/controllers/pages_controller.rb
character-1.0.5 app/controllers/pages_controller.rb
character-1.0.4 app/controllers/pages_controller.rb
character-1.0.3 app/controllers/pages_controller.rb
character-1.0.2 app/controllers/pages_controller.rb
character-1.0.1 app/controllers/pages_controller.rb
character-1.0.0 app/controllers/pages_controller.rb