Sha256: beb76500937c72f576597e34d983d22bd04cb37bc10aaa371ed29ff89fb00104

Contents?: true

Size: 171 Bytes

Versions: 6

Compression:

Stored size: 171 Bytes

Contents

class PageController < ApplicationController
  def show
    @page = Page.find_by_name params[:page]

    if !@page
      render :action => params[:page]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
creature-0.0.6 lib/generators/pages/templates/page_controller.rb
creature-0.0.5 lib/generators/pages/templates/page_controller.rb
creature-0.0.4 lib/generators/pages/templates/page_controller.rb
creature-0.0.3 lib/generators/pages/templates/page_controller.rb
creature-0.0.2 lib/generators/pages/templates/page_controller.rb
creature-0.0.1 lib/generators/pages/templates/page_controller.rb