unsmart requiring helpers

This commit is contained in:
Sven Fuchs 2016-03-24 12:53:57 +01:00
parent 4db60de568
commit 30b8f2d772
2 changed files with 6 additions and 10 deletions

View File

@ -388,6 +388,3 @@ DEPENDENCIES
travis-yaml! travis-yaml!
unicorn unicorn
yard-sinatra! yard-sinatra!
BUNDLED WITH
1.11.2

View File

@ -1,8 +1,7 @@
require 'travis/api/app' require 'travis/api/app'
require 'travis/api/app/helpers/accept'
class Travis::Api::App require 'travis/api/app/helpers/current_user'
# Namespace for helpers. require 'travis/api/app/helpers/db_follower'
module Helpers require 'travis/api/app/helpers/flash'
Dir.glob("#{__dir__}/helpers/*.rb").each { |f| require f[%r[(?<=lib/).+(?=\.rb$)]] } require 'travis/api/app/helpers/mime_types'
end require 'travis/api/app/helpers/respond_with'
end