Sha256: 397c6f7265164b3081b4182bb488bb3e151ac70fcc11b0e2cf5e56e980e687ba

Contents?: true

Size: 293 Bytes

Versions: 35

Compression:

Stored size: 293 Bytes

Contents

class FrontpageController < ApplicationController
  before_filter :redirect_user_to_home, :only => :index

  def index
    respond_to do |format|
      format.html # index.html.erb
    end
  end

  private

  def redirect_user_to_home
    redirect_to(home_path) if user_signed_in?
  end

end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
social_stream-1.1.12 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.11 app/controllers/frontpage_controller.rb
social_stream-1.1.11 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.10 app/controllers/frontpage_controller.rb
social_stream-1.1.10 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.9 app/controllers/frontpage_controller.rb
social_stream-1.1.9 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.8 app/controllers/frontpage_controller.rb
social_stream-1.1.8 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.7 app/controllers/frontpage_controller.rb
social_stream-1.1.7 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.6 app/controllers/frontpage_controller.rb
social_stream-1.1.6 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.5 app/controllers/frontpage_controller.rb
social_stream-1.1.5 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.4 app/controllers/frontpage_controller.rb
social_stream-1.1.4 base/app/controllers/frontpage_controller.rb
social_stream-1.1.3 base/app/controllers/frontpage_controller.rb
social_stream-base-1.1.3 app/controllers/frontpage_controller.rb
social_stream-1.1.2 base/app/controllers/frontpage_controller.rb