开启assets

This commit is contained in:
guange 2014-12-11 11:11:30 +08:00
parent 236968d946
commit e7060b7e00
3 changed files with 10 additions and 1 deletions

View File

@ -21,6 +21,7 @@ gem 'acts-as-taggable-on', '2.4.1'
group :development do
gem 'grape-swagger'
gem 'grape-swagger-ui', git: 'https://github.com/guange2015/grape-swagger-ui.git'
gem 'puma'
gem 'better_errors', path: 'lib/better_errors'
gem 'rack-mini-profiler', path: 'lib/rack-mini-profiler'

View File

@ -1,3 +1,10 @@
GIT
remote: https://github.com/guange2015/grape-swagger-ui.git
revision: 4c33439f236c174ae0e774b3435ef2547995c21d
specs:
grape-swagger-ui (0.0.4)
railties (>= 3.1)
PATH
remote: lib/better_errors
specs:
@ -311,6 +318,7 @@ DEPENDENCIES
grape (~> 0.9.0)
grape-entity
grape-swagger
grape-swagger-ui!
guard-rails (~> 0.5.3)
guard-spork (~> 1.5.1)
guard-test (~> 1.0.0)

View File

@ -44,7 +44,7 @@ module RedmineApp
config.filter_parameters += [:password]
# Enable the asset pipeline
config.assets.enabled = false
config.assets.enabled = true
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'