Sha256: 45912bed5c798924199ffa4095d59b6680a9132458dffa3bb9514d67b818944d

Contents?: true

Size: 781 Bytes

Versions: 10

Compression:

Stored size: 781 Bytes

Contents

SimpleNavigation::Configuration.run do |navigation|  
  navigation.items do |primary|
    primary.dom_class = 'nav'
    primary.item :root, 'Index', rails_info_path
    primary.item :properties, 'Properties', rails_info_properties_path
    primary.item :routes, 'Routes', rails_info_routes_path
  
    primary.item :model, 'Model', rails_info_model_path do |model|
      model.item :model_index, 'Index', rails_info_model_path
      model.item :data, 'Data', rails_info_data_path
    end
    
    primary.item :logs, 'Logs', '#logs' do |logs|
      logs.item :server, 'Server', new_rails_info_server_log_path
      logs.item :rspec, 'Test > RSpec', new_rails_info_rspec_log_path
    end
    
    primary.item :stack_traces, 'Stack Traces', new_rails_info_stack_trace_path
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_info-0.1.0 config/rails_info_navigation.rb
rails_info-0.0.9 config/rails_info_navigation.rb
rails_info-0.0.8 config/rails_info_navigation.rb
rails_info-0.0.7 config/rails_info_navigation.rb
rails_info-0.0.6 config/navigation.rb
rails_info-0.0.5 config/navigation.rb
rails_info-0.0.4 config/navigation.rb
rails_info-0.0.3 config/navigation.rb
rails_info-0.0.2 config/navigation.rb
rails_info-0.0.1 config/navigation.rb