Sha256: f88231ea9812a10f29db29106e9b4c24d9df042ad7141eb3acd46ef66fee216f

Contents?: true

Size: 354 Bytes

Versions: 13

Compression:

Stored size: 354 Bytes

Contents

class UcbRails::HomeController < ApplicationController
  
  # Renders either a "logged in" page or a "logged out" page.
  # Mainly used for getting going with the +ucb_rails+ gem.  
  # Not intended for production use.
  #
  # @return [nil]
  def index
    if logged_in?
      render 'logged_in'
    else
      render 'not_logged_in'
    end
  end
  
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ucb_rails-0.0.14 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.13 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.12 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.11 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.10 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.9 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.8 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.7 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.6 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.5 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.4 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.3 app/controllers/ucb_rails/home_controller.rb
ucb_rails-0.0.2 app/controllers/ucb_rails/home_controller.rb