mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
This reverts commitf5cf647e57
. The gem breaks usage of Rails URL helpers when used outside views and controllers, for example in88ecb83382/app/models/upload.rb (L239-L242)
the `upload_short_path` method call fails with an undefined method exception when this gem is enabled.
This commit is contained in:
parent
d2f9108470
commit
228264d17c
3 changed files with 0 additions and 7 deletions
1
Gemfile
1
Gemfile
|
@ -151,7 +151,6 @@ group :test do
|
||||||
end
|
end
|
||||||
|
|
||||||
group :test, :development do
|
group :test, :development do
|
||||||
gem 'routes_lazy_routes'
|
|
||||||
gem 'rspec'
|
gem 'rspec'
|
||||||
gem 'mock_redis'
|
gem 'mock_redis'
|
||||||
gem 'listen', require: false
|
gem 'listen', require: false
|
||||||
|
|
|
@ -352,9 +352,6 @@ GEM
|
||||||
rexml (3.2.5)
|
rexml (3.2.5)
|
||||||
rinku (2.0.6)
|
rinku (2.0.6)
|
||||||
rotp (6.2.0)
|
rotp (6.2.0)
|
||||||
routes_lazy_routes (0.4.2)
|
|
||||||
actionpack
|
|
||||||
railties
|
|
||||||
rqrcode (2.1.0)
|
rqrcode (2.1.0)
|
||||||
chunky_png (~> 1.0)
|
chunky_png (~> 1.0)
|
||||||
rqrcode_core (~> 1.0)
|
rqrcode_core (~> 1.0)
|
||||||
|
@ -581,7 +578,6 @@ DEPENDENCIES
|
||||||
redis-namespace
|
redis-namespace
|
||||||
rinku
|
rinku
|
||||||
rotp
|
rotp
|
||||||
routes_lazy_routes
|
|
||||||
rqrcode
|
rqrcode
|
||||||
rspec
|
rspec
|
||||||
rspec-html-matchers
|
rspec-html-matchers
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'sidekiq/api'
|
|
||||||
|
|
||||||
module Jobs
|
module Jobs
|
||||||
|
|
||||||
def self.queued
|
def self.queued
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue