diff options
| author | Thomas Haddad | 2017-03-02 17:04:09 +0100 |
|---|---|---|
| committer | Thomas Haddad | 2017-03-02 17:04:09 +0100 |
| commit | 030d07718bde5fb9bbb165e06e7d2269c9217190 (patch) | |
| tree | 39f8e53c96bbf7e31a3c7b799ef98670237608c8 /app/views/api | |
| parent | b373f06c85f3d9fd511ed2df4b38065bb18315e0 (diff) | |
| download | chouette-core-030d07718bde5fb9bbb165e06e7d2269c9217190.tar.bz2 | |
Refs #2522: use Bselect2 to link a jp to a vj
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'app/views/api')
| -rw-r--r-- | app/views/api/v1/journey_patterns/show.rabl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/v1/journey_patterns/show.rabl b/app/views/api/v1/journey_patterns/show.rabl index 808808462..21f25e480 100644 --- a/app/views/api/v1/journey_patterns/show.rabl +++ b/app/views/api/v1/journey_patterns/show.rabl @@ -1,7 +1,7 @@ object @journey_pattern extends "api/v1/trident_objects/show" -[:name, :published_name, :registration_number, :comment].each do |attr| +[:id, :name, :published_name, :registration_number, :comment].each do |attr| attributes attr, :unless => lambda { |m| m.send( attr).nil?} end |
