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