Sha256: 8fabc59764926dfe4ef6a7df2f2ef7a737c28621b528d39e5b5fa9d2aa8a2b72

Contents?: true

Size: 276 Bytes

Versions: 20

Compression:

Stored size: 276 Bytes

Contents

class StaticPagesController < ApplicationController

  def home
    if signed_in?
      @micropost  = current_user.microposts.build
      @feed_items = current_user.feed.paginate(page: params[:page])
    end
  end

  def help
  end

  def about
  end

  def contact
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
rails_magic_renamer-2.0.0.pre.alpha spec/support/sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.4.2 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.4.1 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.3.2 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.3.1 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.3 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.4 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.3 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.11 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.10 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.9 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.8 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.7 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.6 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.5 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.4 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.3 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.2 sample_app_rails_4/app/controllers/static_pages_controller.rb
active_mocker-1.2.pre.1 sample_app_rails_4/app/controllers/static_pages_controller.rb