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 8 format :json
9 9 content_type :txt, "text/plain"
10 10  
  11 + helpers APIHelpers
  12 +
11 13 mount V1::Articles
12 14 mount V1::Comments
13 15 mount V1::Users
14 16 mount Session
15 17  
16   - helpers APIHelpers
17   -
18 18 end
19 19 end
... ...