lib/decidim/admin/engine.rb in decidim-admin-0.2.0 vs lib/decidim/admin/engine.rb in decidim-admin-0.3.0
- old
+ new
@@ -11,10 +11,10 @@
require "foundation-rails"
require "foundation_rails_helper"
require "autoprefixer-rails"
require "rectify"
-require_dependency File.join(File.dirname(__FILE__), "..", "..", "..", "app/models/decidim/admin/abilities/admin_user")
+require_dependency File.join(__dir__, "..", "..", "..", "app/models/decidim/admin/abilities/admin_user")
module Decidim
module Admin
# Decidim's core Rails Engine.
class Engine < ::Rails::Engine