Skip to content

Commit

Permalink
tags are now seperated by whitespace, not comma.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Sep 7, 2008
1 parent e5ba29f commit 3927467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/controllers/projects_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def update
@project = Project.find(params[:id])

# add new tags, only if any specified
params[:new_tags].split(",").each do |new_tag|
params[:new_tags].split(" ").each do |new_tag|
session[:project_tags] << new_tag
end

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class TagList < Array
cattr_accessor :delimiter
self.delimiter = ','
self.delimiter = ' '

def initialize(*args)
add(*args)
Expand Down

0 comments on commit 3927467

Please sign in to comment.