aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE2
-rw-r--r--railties/lib/rails_generator/generators/components/plugin/templates/README2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE b/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE
index 570ecf8706..8717df053d 100644
--- a/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE
+++ b/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2007 [name of plugin creator]
+Copyright (c) <%= Date.today.year %> [name of plugin creator]
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/README b/railties/lib/rails_generator/generators/components/plugin/templates/README
index 0a3378f1b9..702db07cb1 100644
--- a/railties/lib/rails_generator/generators/components/plugin/templates/README
+++ b/railties/lib/rails_generator/generators/components/plugin/templates/README
@@ -10,4 +10,4 @@ Example
Example goes here.
-Copyright (c) 2007 [name of plugin creator], released under the MIT license
+Copyright (c) <%= Date.today.year %> [name of plugin creator], released under the MIT license