Skip to content

Commit

Permalink
Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Sep 30, 2024
1 parent 7838556 commit bc61325
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/generators/smart_listing/install_generator.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# frozen_string_literal: true

require 'rails/generators'

module SmartListing
module Generators
class InstallGenerator < Rails::Generators::Base
Expand Down
4 changes: 4 additions & 0 deletions lib/generators/smart_listing/views_generator.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# frozen_string_literal: true

require 'rails/generators'

module SmartListing
module Generators
class ViewsGenerator < Rails::Generators::Base
Expand Down
8 changes: 6 additions & 2 deletions lib/smart_listing.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# frozen_string_literal: true

require 'smart_listing/config'
require 'smart_listing/engine'
# require external dependencies
require 'kaminari'

# require internal dependencies
require_relative 'smart_listing/engine'
require_relative 'smart_listing/config'
require_relative 'smart_listing/version'

# Fix parsing nested params
module Kaminari
module Helpers
Expand Down

0 comments on commit bc61325

Please sign in to comment.