From 4289ed1d13b9c3b91663581c44635105c4bc0412 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Tue, 23 May 2017 12:11:39 -0400 Subject: Refactor of API timeline actions (#3263) - Increase coverage to exercise all parts of each action - Move into namespace to share common code - Misc refactor of each action for smaller methods, simpler code --- app/views/api/v1/timelines/base/show.rabl | 2 ++ app/views/api/v1/timelines/index.rabl | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 app/views/api/v1/timelines/base/show.rabl delete mode 100644 app/views/api/v1/timelines/index.rabl (limited to 'app/views/api/v1/timelines') diff --git a/app/views/api/v1/timelines/base/show.rabl b/app/views/api/v1/timelines/base/show.rabl new file mode 100644 index 000000000..0a0ed13c5 --- /dev/null +++ b/app/views/api/v1/timelines/base/show.rabl @@ -0,0 +1,2 @@ +collection @statuses +extends('api/v1/statuses/show') diff --git a/app/views/api/v1/timelines/index.rabl b/app/views/api/v1/timelines/index.rabl deleted file mode 100644 index 0a0ed13c5..000000000 --- a/app/views/api/v1/timelines/index.rabl +++ /dev/null @@ -1,2 +0,0 @@ -collection @statuses -extends('api/v1/statuses/show') -- cgit