Sha256: f213fb92916d5f231e9e8284cf1da4626f11237166d13251c53a831a5124c487

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

require_dependency "aliada_webapp_rails/application_controller"

module AliadaWebappRails
  class HomeController < ApplicationController
    def index
      if user_signed_in? && current_user.services.count > 0
        redirect_to main_app.next_services_users_path(current_user)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aliada_webapp_rails-0.0.15 app/controllers/aliada_webapp_rails/home_controller.rb
aliada_webapp_rails-0.0.14 app/controllers/aliada_webapp_rails/home_controller.rb