add /chat page
This commit is contained in:
parent
677da599f2
commit
1c789fbae0
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -22,6 +22,7 @@ public/assets
|
|||
# templates to be created per-site
|
||||
app/views/home/privacy.*
|
||||
app/views/home/about.*
|
||||
app/views/home/chat.*
|
||||
|
||||
# files added in production
|
||||
lib/tasks/deploy.rake
|
||||
|
|
|
@ -14,6 +14,10 @@ class HomeController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def chat
|
||||
render :action => "chat"
|
||||
end
|
||||
|
||||
def privacy
|
||||
begin
|
||||
render :action => "privacy"
|
||||
|
|
|
@ -116,6 +116,7 @@
|
|||
(iqc = InvitationRequest.verified_count) > 0 %>
|
||||
<a href="/invitations">Invitation Queue (<%= iqc %>)</a>
|
||||
<% end %>
|
||||
<a href="/chat">Chat</a>
|
||||
<% if defined?(BbsController) %>
|
||||
<a href="/bbs">BBS</a>
|
||||
<% end %>
|
||||
|
|
|
@ -123,6 +123,7 @@ Lobsters::Application.routes.draw do
|
|||
|
||||
get "/privacy" => "home#privacy"
|
||||
get "/about" => "home#about"
|
||||
get "/chat" => "home#chat"
|
||||
|
||||
if defined?(BbsController) || Rails.env.development?
|
||||
get "/bbs" => "bbs#index"
|
||||
|
|
Loading…
Reference in a new issue