Commit b0d5f0eca7e80b7b009c4c404edf08f8380a3011

Authored by Leandro Santos
Committed by Rodrigo Souto
1 parent 68ac226a

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
... ...