From 3e77e7634dffa0b0c5885d690062177b463c66ec Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Mon, 7 Apr 2014 18:10:36 -0300 Subject: [PATCH] load helper before api endpoints --- lib/api/api.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api/api.rb b/lib/api/api.rb index f0c3617..509b08c 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -8,12 +8,12 @@ module API format :json content_type :txt, "text/plain" + helpers APIHelpers + mount V1::Articles mount V1::Comments mount V1::Users mount Session - helpers APIHelpers - end end -- libgit2 0.21.2