Revision c4038d6f
Added by Ohad Levy over 11 years ago
- ID c4038d6feef61f823a9f10ba0855d1aeb9cc9249
app/models/config_template.rb | ||
---|---|---|
end
|
||
|
||
def to_param
|
||
name
|
||
"#{id}-#{name.parameterize}"
|
||
end
|
||
|
||
# TODO: review if we can improve SQL
|
Also available in: Unified diff
fixes #1827: use ids instead of names for templates routes