Skip to content

Commit

Permalink
Fixes #37848 - Support Rails 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren authored and stejskalleos committed Nov 19, 2024
1 parent 0bd8029 commit 73bb74a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:apiv => /v2/,
:constraints => ApiConstraints.new(version: 2, default: true) do
constraints(:id => %r{[^\/]+}) do
resources :hosts, :only => [] do
resources :hosts, :except => [:new, :edit] do
member do
post :play_roles
get :ansible_roles
Expand Down
1 change: 0 additions & 1 deletion test/test_plugin_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require 'test_helper'
require 'facets'

def ansible_fixture_file(filename)
File.join(
Expand Down

0 comments on commit 73bb74a

Please sign in to comment.