Sha256: 0edf3b4d67465be0c6db355963674de95018c3c7e2cbd63ea1d97a98919101b6

Contents?: true

Size: 294 Bytes

Versions: 19

Compression:

Stored size: 294 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

19 entries across 19 versions & 1 rubygems

Version Path
social_stream-0.3.6 app/controllers/frontpage_controller.rb
social_stream-0.3.5 app/controllers/frontpage_controller.rb
social_stream-0.3.4 app/controllers/frontpage_controller.rb
social_stream-0.3.3 app/controllers/frontpage_controller.rb
social_stream-0.3.2 app/controllers/frontpage_controller.rb
social_stream-0.3.1 app/controllers/frontpage_controller.rb
social_stream-0.3.0 app/controllers/frontpage_controller.rb
social_stream-0.2.3 app/controllers/frontpage_controller.rb
social_stream-0.2.2 app/controllers/frontpage_controller.rb
social_stream-0.2.1 app/controllers/frontpage_controller.rb
social_stream-0.2.0 app/controllers/frontpage_controller.rb
social_stream-0.1.7 app/controllers/frontpage_controller.rb
social_stream-0.1.6 app/controllers/frontpage_controller.rb
social_stream-0.1.5 app/controllers/frontpage_controller.rb
social_stream-0.1.4 app/controllers/frontpage_controller.rb
social_stream-0.1.3 app/controllers/frontpage_controller.rb
social_stream-0.1.2 app/controllers/frontpage_controller.rb
social_stream-0.1.1 app/controllers/frontpage_controller.rb
social_stream-0.1.0 app/controllers/frontpage_controller.rb