Sha256: 3a78359d703b4e7e753cdeb4dccc9bc16da9777ebbf6b0daf98470eb40f1f294

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 Bytes

Contents

= nav_dropdown("Developer") do
  = dropdown_item(icon('cog', "Configuration"), ucb_rails_admin_configuration_path)
  = dropdown_item(icon('picture', "Bootstrap Examples"), bvh_path)
  = dropdown_item(icon('exclamation-sign', "Force Exception"), ucb_rails_admin_force_exception_path)

  - if RailsEnvironment.development?
    = dropdown_divider
    
    - if defined?(Rack::MiniProfilerRails)
      = nav_list_header('Mini-Profiler')
      = dropdown_item("Enable", url_for(params.merge(pp: 'enable')))    
      = dropdown_item("Disable", url_for(params.merge(pp: 'disable')))
      = dropdown_item("Help", url_for(params.merge(pp: 'help')))
    - else
      = dropdown_item('Install rack-mini-profiler to enable this menu')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ucb_rails-0.0.7 lib/generators/ucb_rails/templates/app/views/layouts/_developer.html.haml