Skip to content

Commit

Permalink
seperate task and hours in bot by pipe instead of space.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Strong authored and James Strong committed Mar 17, 2011
1 parent e7e0934 commit 6362c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/bot_controller.rb
Expand Up @@ -18,7 +18,7 @@ def index
@text = "You have tasks:<br>" + project.tasks.where(:user_id => user.id).map {|task| task.name }.join("<br>")
elsif step >= 4

arr = params[:msg].split(" ")
arr = params[:msg].split(/\s*\|\s*/)
task_s = arr[0]
time_entry_s = arr[1]

Expand Down

0 comments on commit 6362c6e

Please sign in to comment.