Browse Source

records inside domain

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
8d53b8ca4e
  1. 2
      app/controllers/domains_controller.rb
  2. 1
      app/views/fragments/_sidebar.html.erb

2
app/controllers/domains_controller.rb

@ -1,6 +1,6 @@
class DomainsController < ApplicationController
active_scaffold :domain do |conf|
conf.columns = [:name]
conf.columns = [:name, :records]
conf.actions.exclude :show
end

1
app/views/fragments/_sidebar.html.erb

@ -5,7 +5,6 @@
<ul class="navigation">
<li><%= link_to 'Dashboard', dashboard_path, :data => {:pjax => '#main'} %></li>
<li><%= link_to 'Domains', domains_path, :data => {:pjax => '#main'} %></li>
<li><%= link_to 'Records', records_path, :data => {:pjax => '#main'} %></li>
<li><%= link_to 'Supermasters', supermasters_path, :data => {:pjax => '#main'} %></li>
</ul>
</div>

Loading…
Cancel
Save