Sha256: 0f7b740f3d94fef313986b3663193fd05007379f5fb922386753ad0e3dca6395

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

class PagesController < ApplicationController
  before_filter :set_title
  
  def home
  end

  def contact
  end

  def about
  end

  def help
  end
  
  private
    
    def set_title
      @title = params[:action].titleize
    end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iceauth-0.0.4 lib/generators/iceauth/templates/app/controllers/pages_controller.rb
iceauth-0.0.3 lib/generators/iceauth/templates/app/controllers/pages_controller.rb
iceauth-0.0.2 lib/generators/iceauth/templates/app/controllers/pages_controller.rb
iceauth-0.0.1 lib/generators/iceauth/templates/app/controllers/pages_controller.rb