unsmart requiring helpers
This commit is contained in:
parent
4db60de568
commit
30b8f2d772
|
@ -388,6 +388,3 @@ DEPENDENCIES
|
||||||
travis-yaml!
|
travis-yaml!
|
||||||
unicorn
|
unicorn
|
||||||
yard-sinatra!
|
yard-sinatra!
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
1.11.2
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user