Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename generator to scaffold

  • Loading branch information...
commit 5c282c88cd7072e7233585af75a1d228b2ad58bf 1 parent fb00d25
@bogdan authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/datagrid.rb
  2. +1 −1  lib/datagrid/{generator.rb → scaffold.rb}
View
2  lib/datagrid.rb
@@ -41,6 +41,6 @@ class ArgumentError < ::ArgumentError; end
end
-require "datagrid/generator"
+require "datagrid/scaffold"
View
2  lib/datagrid/generator.rb → lib/datagrid/scaffold.rb
@@ -1,6 +1,6 @@
require "rails/generators"
-class Datagrid::Generator < Rails::Generators::Base
+class Datagrid::Scaffold < Rails::Generators::Base
source_root File.expand_path(__FILE__ + "/../../../templates")
def create_uploader_file
Please sign in to comment.
Something went wrong with that request. Please try again.