Sha256: b5973004cdcc35eff3c4f545bc0e0f0226c6b6bfe1998fa9afda12fe1314ebac

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

class Curate::UserProfilesController < ApplicationController

  before_filter :authenticate_user!

  def show
    if current_user.repository_id.present?
      redirect_to person_path(current_user.person)
    else
      redirect_to edit_user_registration_path
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
curate-0.6.6 app/controllers/curate/user_profiles_controller.rb
curate-0.6.5 app/controllers/curate/user_profiles_controller.rb
curate-0.6.4 app/controllers/curate/user_profiles_controller.rb
curate-0.6.3 app/controllers/curate/user_profiles_controller.rb
curate-0.6.1 app/controllers/curate/user_profiles_controller.rb