Permalink
Browse files

add flash notifying shutdown on signin

  • Loading branch information...
1 parent 263cc14 commit fc194af3f219eb440353fd35c8946c3d7f2faea2 @scottsil scottsil committed Jun 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/controllers/application_controller.rb
@@ -5,7 +5,8 @@ class ApplicationController < ActionController::Base
def index
if user_signed_in?
- redirect_to :groups
+ eol_link = "<a href='/eol'>Read more »</a>"
+ redirect_to :groups, :notice =>"ClassTalk is shutting down on 7/1/2012. #{eol_link}".html_safe
elsif admin_signed_in?
redirect_to "/admin"
else

0 comments on commit fc194af

Please sign in to comment.