OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add credit
[pettanr/pettanr.git]
/
app
/
assets
/
javascripts
/
models
/
license_group.js.coffee
1
class Pettanr.LicenseGroup extends Peta.Template
\r
2
url: '/license_groups/'
\r
3
\r
4
@singular: () ->
\r
5
'LicenseGroup'
\r
6
\r
7
@plural: () ->
\r
8
'LicenseGroups'
\r
9
\r
10
defaults: {
\r
11
id: null
\r
12
}
\r
13
\r
14
initialize: () ->
\r
15
if @id
\r
16
@url = @url + @id
\r
17
\r
18
class Pettanr.LicenseGroup.Collection extends Backbone.Collection
\r
19
model: Pettanr.LicenseGroup
\r
20
url: '/license_groups'
\r