浏览代码

Fix requires

master
Adrian Short 9 年前
父节点
当前提交
a6dcb17305
共有 2 个文件被更改,包括 3 次插入12 次删除
  1. +3
    -3
      app.rb
  2. +0
    -9
      models.rb

+ 3
- 3
app.rb 查看文件

@@ -1,8 +1,8 @@
require 'rubygems'
require 'sinatra'
require 'sinatra-helpers/haml/partials'
# require 'sinatra-helpers/haml/partials'
require 'haml'
require 'lib/models'
require 'data_mapper'
require './models'

SETTING = Setting.first # Could also do this with Sinatra filters before/do



+ 0
- 9
models.rb 查看文件

@@ -1,12 +1,3 @@
require 'rubygems'
require 'datamapper'
require 'dm-core'
require 'dm-validations'
require 'dm-timestamps'
require 'dm-aggregates'
require 'dm-serializer'
require 'dm-migrations'

class Payment
include DataMapper::Resource


正在加载...
取消
保存