Sha256: 9c4b03feced2b2b80b82202458a5a382fbfdbfc1924b155528a506d82549a5e2

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

module Peoplefinder
  class HomeController < ApplicationController
    def show
      @group = Group.department
      unless @group
        notice :top_level_group_needed
        redirect_to new_group_path
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
peoplefinder-0.1.1 app/controllers/peoplefinder/home_controller.rb
peoplefinder-0.1.0 app/controllers/peoplefinder/home_controller.rb
peoplefinder-0.0.2 app/controllers/peoplefinder/home_controller.rb