Skip to content

Commit

Permalink
v3.1.3
Browse files Browse the repository at this point in the history
Merge pull request #810 from TechforgoodCAST/develop
  • Loading branch information
suninthesky authored Dec 14, 2018
2 parents 2cc01a9 + 2c7d161 commit c0bce44
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ gem 'sitemap_generator'
gem 'stripe'

# Admin
gem 'activeadmin'
gem 'activeadmin', '~> 1.3.0'
gem 'devise', '~> 4.4.0'

# Monitoring & metrics
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ GEM
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activeadmin (1.4.3)
activeadmin (1.3.1)
arbre (>= 1.1.1)
coffee-rails
formtastic (~> 3.1)
Expand Down Expand Up @@ -370,7 +370,7 @@ PLATFORMS
ruby

DEPENDENCIES
activeadmin
activeadmin (~> 1.3.0)
activerecord-import
bcrypt (~> 3.1.7)
bullet
Expand Down
5 changes: 5 additions & 0 deletions app/controllers/answers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ def show
@assessment.proposal_id
).pluck(:criterion_id, :eligible).to_h
end

respond_to do |format|
format.html { render 'errors/not_found', status: 404 }
format.js { render }
end
end
end
1 change: 1 addition & 0 deletions config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# Rails.application.config.assets.precompile += %w( search.js )
Rails.application.config.assets.precompile += %w( chartkick.js )

0 comments on commit c0bce44

Please sign in to comment.