Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
end
end

# You can have the root of your site routed with "root"
# You can have the root of your site routed with 'root'
# just remember to delete public/index.html.

patch 'locale/:locale' => 'session_locales#update', as: 'locale'
Expand Down Expand Up @@ -139,15 +139,15 @@
end

# Ajax endpoint for ResearchOutput.output_type selection
get "output_type_selection", controller: "research_outputs", action: "select_output_type"
get 'output_type_selection', controller: 'research_outputs', action: 'select_output_type'

# Ajax endpoint for ResearchOutput.license_id selection
get "license_selection", controller: "research_outputs", action: "select_license"
get 'license_selection', controller: 'research_outputs', action: 'select_license'

# AJAX endpoints for repository search and selection
get :repository_search, controller: "research_outputs"
get :repository_search, controller: 'research_outputs'
# AJAX endpoints for metadata standards search and selection
get :metadata_standard_search, controller: "research_outputs"
get :metadata_standard_search, controller: 'research_outputs'
end

resources :usage, only: [:index]
Expand Down Expand Up @@ -229,7 +229,7 @@
end
# Paginable actions for research_outputs
resources :research_outputs, only: %i[index] do
get "index/:page", action: :index, on: :collection, as: :index
get 'index/:page', action: :index, on: :collection, as: :index
end
end

Expand Down