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