Sha256: 0c557a231c78b63e8dcab226a012cf68f9b3f9090e70d10c8e4642eb2780c015

Contents?: true

Size: 230 Bytes

Versions: 11

Compression:

Stored size: 230 Bytes

Contents

class WelcomeController < ApplicationController
  include UrlHelper

  def index
    if Entry.empty?
      redirect_to(populate_path)
    elsif !logged_in?
      flash.keep(:notice)
      redirect_to(login_path)
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
activeldap-1.2.3 examples/al-admin/app/controllers/welcome_controller.rb
activeldap3-1.2.3 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.2.2 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.2.1 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.2.0 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.1.0 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-0.10.0 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.0.0 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.0.9 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.0.2 examples/al-admin/app/controllers/welcome_controller.rb
activeldap-1.0.1 examples/al-admin/app/controllers/welcome_controller.rb