Skip to content

Commit f63a052

Browse files
Run rubocop
1 parent ee95603 commit f63a052

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/activeadmin-mongoid.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
# and thereby pushing ActiveAdmin::Generators::InstallGenerator to use our empty create_migrations method.
1010

1111
Rails::Generators::NamedBase.class_eval do
12-
1312
def create_migrations
1413
end
1514

1615
def self.inherited(klass)
1716
super
1817
if klass.name == "ActiveAdmin::Generators::InstallGenerator"
1918

20-
klass.class_eval do
19+
klass.class_eval do
2120
def self.method_added(method_name)
2221
super
2322
remove_method method_name if method_name == :create_migrations
@@ -26,4 +25,3 @@ def self.method_added(method_name)
2625
end
2726
end
2827
end
29-

0 commit comments

Comments
 (0)