mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-26 17:14:07 +01:00
typos and style tweaks
This commit is contained in:
parent
3450c22e97
commit
2e13affdce
3 changed files with 6 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
class Todo < ActiveRecord::Base
|
||||
|
||||
MAX_DESC_LENGTH = 300
|
||||
MAX_DESCRIPTION_LENGTH = 300
|
||||
MAX_NOTES_LENGTH = 60000
|
||||
|
||||
before_save :render_note
|
||||
|
|
@ -434,7 +434,7 @@ class Todo < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
def self.import params, user
|
||||
def self.import(params, user)
|
||||
default_context = Context.where(:user_id=>user.id).order('id').first
|
||||
|
||||
count = 0
|
||||
|
|
@ -455,6 +455,6 @@ class Todo < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
count
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue