Files
manja_ui_dev/node_modules/speakingurl/lib/speakingurl-rails.rb
T
sean d26db06f74
NPM Installation / build (16.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (16.x, windows-latest) (push) Has been cancelled
NPM Installation / build (17.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (17.x, windows-latest) (push) Has been cancelled
NPM Installation / build (18.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (18.x, windows-latest) (push) Has been cancelled
all data hide
2026-06-25 09:44:52 +07:00

15 lines
387 B
Ruby

require 'rails'
require 'sprockets/railtie'
module Speakingurl
module Rails
class Railtie < ::Rails::Railtie
initializer "speakingurl_rails.append_path", :group => :all do |app|
speakingurl_path = File.expand_path('../', __FILE__)
sprockets_env = app.assets || Sprockets
sprockets_env.prepend_path(speakingurl_path.to_s)
end
end
end
end