Browse Source

prepare for alpha

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
7a6e10c639
  1. 2
      app/controllers/home_controller.rb
  2. 6
      app/views/fragments/_top.html.erb
  3. 4
      app/views/home/_headlines.html.erb

2
app/controllers/home_controller.rb

@ -3,6 +3,6 @@ class HomeController < ApplicationController
layout proc{|controller| request.xhr? ? false : 'marketing'} layout proc{|controller| request.xhr? ? false : 'marketing'}
def index def index
redirect_to dashboard_path if user_signed_in? redirect_to domains_path if user_signed_in?
end end
end end

6
app/views/fragments/_top.html.erb

@ -4,13 +4,13 @@
<div id="main-navigation"> <div id="main-navigation">
<ul class="wat-cf"> <ul class="wat-cf">
<% if user_signed_in? %> <% if user_signed_in? %>
<li><%= link_to('Dashboard', dashboard_path, :data => {:pjax => '#main'}) %></li> <li><%#= link_to('Dashboard', dashboard_path, :data => {:pjax => '#main'}) %></li>
<li><%= link_to 'Manage Domains', domains_path, :data => {:pjax => '#main'} %></li> <li><%= link_to 'Manage Domains', domains_path, :data => {:pjax => '#main'} %></li>
<% else %> <% else %>
<li><%= link_to('Home', root_path, :data => {:pjax => '#main'}) %></li> <li><%= link_to('Home', root_path, :data => {:pjax => '#main'}) %></li>
<li><%= link_to('About us', root_path, :data => {:pjax => '#main'}) %></li> <li><%#= link_to('About us', root_path, :data => {:pjax => '#main'}) %></li>
<% end %> <% end %>
<li><%= link_to('Help & Support', root_path, :data => {:pjax => '#main'}) %></li> <li><%#= link_to('Help & Support', root_path, :data => {:pjax => '#main'}) %></li>
</ul> </ul>
</div> </div>
<div id="user-navigation"> <div id="user-navigation">

4
app/views/home/_headlines.html.erb

@ -15,10 +15,10 @@
Friendly and reliable support Friendly and reliable support
</li> </li>
<li> <li>
Global infrastructure Full offsite backup, daily
</li> </li>
<li> <li>
Full offsite backup, daily Complete developers API's
</li> </li>
</ul> </ul>

Loading…
Cancel
Save