Skip to content

Commit

Permalink
This private doesn't apply to the class method
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobm committed Feb 13, 2020
1 parent 014529d commit 7ac3911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/administrate/view_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ module Administrate
class ViewGenerator < Rails::Generators::Base
include Administrate::GeneratorHelpers

private

def self.template_source_path
File.expand_path(
"../../../app/views/administrate/application",
__FILE__,
)
end

private

def copy_resource_template(template_name)
template_file = "#{template_name}.html.erb"

Expand Down

0 comments on commit 7ac3911

Please sign in to comment.