Show More
Commit Description:
before upgrading to rails 5.2
Commit Description:
before upgrading to rails 5.2
References:
File last commit:
Show/Diff file:
Action:
config/initializers/assets.rb | 18 lines | 1005 B | text/x-ruby | RubyLexer |
make group_user and group_problem unique
r678 # Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = '1.0'
start migrate to 5.0
r744 # Add additional assets to the asset load path
make group_user and group_problem unique
r678 # Rails.application.config.assets.paths << Emoji.images_path
# Precompile additional assets.
start migrate to 5.0
r744 # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# Rails.application.config.assets.precompile += %w( search.js )
make group_user and group_problem unique
r678 Rails.application.config.assets.precompile += ['announcement_refresh.js','effects.js','site_update.js']
Rails.application.config.assets.precompile += ['local_jquery.js','tablesorter-theme.cafe.css']
start migrate to 5.0
r744 %w( announcements submissions configurations contests contest_management graders heartbeat
make group_user and group_problem unique
r678 login main messages problems report site sites sources tasks groups
- after submission, redirecto to edit_submission_path...
r696 test user_admin users tags testcases).each do |controller|
make group_user and group_problem unique
r678 Rails.application.config.assets.precompile += ["#{controller}.js", "#{controller}.css"]
end