Skip to content

Commit

Permalink
Fixed bad path in Rails 2.x generator.
Browse files Browse the repository at this point in the history
  • Loading branch information
norman committed Mar 30, 2010
1 parent 157bbca commit 1dcf0ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Expand Up @@ -6,6 +6,10 @@ suggestions, ideas and improvements to FriendlyId.
* Table of Contents
{:toc}

## 3.0.1 (2010-03-30)

* Fixed bad path in Rails 2.x generator.

## 3.0.0 (2010-03-30)

* Rails 3 support.
Expand Down
4 changes: 2 additions & 2 deletions generators/friendly_id/friendly_id_generator.rb
@@ -1,6 +1,6 @@
class FriendlyIdGenerator < Rails::Generator::Base

RAKE_TASKS = File.join(File.dirname(__FILE__), "..", "..", "lib", "tasks", "friendly_id.rake")
RAKE_TASKS = File.join("..", "..", "..", "lib", "tasks", "friendly_id.rake")

def manifest
record do |m|
Expand All @@ -27,4 +27,4 @@ def add_options!(opt)
end
end

end
end
2 changes: 1 addition & 1 deletion lib/friendly_id/version.rb
Expand Up @@ -2,7 +2,7 @@ module FriendlyId
module Version
MAJOR = 3
MINOR = 0
TINY = 0
TINY = 1
BUILD = nil
STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
end
Expand Down

0 comments on commit 1dcf0ba

Please sign in to comment.