Merge pull request #283 from pushcx/chat-default

Don't 500 if someone hasn't added a chat template
This commit is contained in:
joshua stein 2016-04-13 10:00:30 -05:00
commit f05cb03b0c

View file

@ -15,7 +15,13 @@ class HomeController < ApplicationController
end
def chat
render :action => "chat"
begin
render :action => "chat"
rescue
render :text => "<div class=\"box wide\">" <<
"Keep it on-site" <<
"</div>", :layout => "application"
end
end
def privacy