QutEcoacoustics / baw-server

The acoustic workbench server for storing and managing ecoacoustic data. Manages the structure and audio data. Provides an API for clients access.
Apache License 2.0
9 stars 4 forks source link

Bug in site template #682

Open atruskie opened 2 months ago

atruskie commented 2 months ago
An ActionView::Template::Error occurred in sites#show:

  No route matches {:action=>"show", :controller=>"sites", :id=>#<Site id: <REDACTED>, region_id: nil>, :project_id=>nil}, possible unmatched constraints: [:project_id]
Did you mean?  project_site_url
  app/modules/api/url_helpers.rb:32:in `method_missing'

  app/modules/api/url_helpers.rb:32:in `method_missing'
  app/helpers/global_menu_helper.rb:142:in `block in <module:GlobalMenuHelper>'
  app/helpers/global_menu_helper.rb:66:in `instance_exec'
  app/helpers/global_menu_helper.rb:66:in `block in menu_definition'
  app/helpers/global_menu_helper.rb:59:in `map'
  app/helpers/global_menu_helper.rb:59:in `menu_definition'
  app/views/layouts/application.html.haml:38
  app/modules/include_controller.rb:329:in `block (2 levels) in render_error'
  app/modules/include_controller.rb:278:in `render_error'
  app/modules/include_controller.rb:408:in `record_not_found_response'

URL: https://api.ecosounds.org/projects/1100/sites/2177