Commit 3e77e7634dffa0b0c5885d690062177b463c66ec

Authored by Leandro Santos
Committed by Rodrigo Souto
1 parent 38ec9d55

load helper before api endpoints

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
lib/api/api.rb
@@ -8,12 +8,12 @@ module API @@ -8,12 +8,12 @@ module API
8 format :json 8 format :json
9 content_type :txt, "text/plain" 9 content_type :txt, "text/plain"
10 10
  11 + helpers APIHelpers
  12 +
11 mount V1::Articles 13 mount V1::Articles
12 mount V1::Comments 14 mount V1::Comments
13 mount V1::Users 15 mount V1::Users
14 mount Session 16 mount Session
15 17
16 - helpers APIHelpers  
17 -  
18 end 18 end
19 end 19 end