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'}
def index
redirect_to dashboard_path if user_signed_in?
redirect_to domains_path if user_signed_in?
end
end

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

@ -4,13 +4,13 @@
<div id="main-navigation">
<ul class="wat-cf">
<% 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>
<% else %>
<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 %>
<li><%= link_to('Help & Support', root_path, :data => {:pjax => '#main'}) %></li>
<li><%#= link_to('Help & Support', root_path, :data => {:pjax => '#main'}) %></li>
</ul>
</div>
<div id="user-navigation">

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

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

Loading…
Cancel
Save