-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renaming cuQuantum to cirq (refs #77)
- Loading branch information
Showing
8 changed files
with
61 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class CirqController < ApplicationController | ||
def show; end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html | ||
Rails.application.routes.draw do | ||
resources :circuits, only: %i[index] if Rails.env.development? | ||
Rails | ||
.application | ||
.routes | ||
.draw do | ||
resources :circuits, only: %i[index] if Rails.env.development? | ||
|
||
get '/backend', to: 'backend#show' | ||
get '/cu_quantum/(:json)', to: 'cu_quantum#show', as: :cu_quantum | ||
get 'svg/(:json)', to: 'circuit_svg#show', as: :circuit_svg, constraints: { json: /.*/ } | ||
get '/(:json)', to: 'circuits#show', as: :circuit, constraints: { json: /.*/ } | ||
end | ||
get '/backend', to: 'backend#show' | ||
get '/cirq/(:json)', to: 'cirq#show', as: :cirq | ||
get 'svg/(:json)', to: 'circuit_svg#show', as: :circuit_svg, constraints: { json: /.*/ } | ||
get '/(:json)', to: 'circuits#show', as: :circuit, constraints: { json: /.*/ } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...controllers/cu_quantum_controller_test.rb → .../test/controllers/cirq_controller_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require 'test_helper' | ||
|
||
class CuQuantumControllerTest < ActionDispatch::IntegrationTest | ||
class CirqControllerTest < ActionDispatch::IntegrationTest | ||
test 'should get show' do | ||
get cu_quantum_url | ||
get cirq_url | ||
assert_response :success | ||
end | ||
end |