@@ -30,7 +30,7 @@ class User < ActiveRecord::Base |
||
| 30 | 30 |
|
| 31 | 31 |
|
| 32 | 32 |
def available_services |
| 33 |
- Service.where("user_id = #{self.id} or global = true").order("services.name desc")
|
|
| 33 |
+ Service.where("user_id = ? or global = true", self.id).order("services.name desc")
|
|
| 34 | 34 |
end |
| 35 | 35 |
|
| 36 | 36 |
# Allow users to login via either email or username. |
@@ -25,7 +25,7 @@ class MigrateAgentsToServiceAuthentication < ActiveRecord::Migration |
||
| 25 | 25 |
puts <<-EOF.strip_heredoc |
| 26 | 26 |
|
| 27 | 27 |
Your Basecamp agents can not be migrated automatically. You need to manually register an application with 37signals and authenticate huginn to use it. |
| 28 |
- Have a look at the <Wiki TBD> if you need help. |
|
| 28 |
+ Have a look at the wiki (https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications) if you need help. |
|
| 29 | 29 |
|
| 30 | 30 |
|
| 31 | 31 |
EOF |