Sha256: 8804c66a532b79ea2fadf225934579ff73f0cb9c96120895cc0b8c02034a27d4
Contents?: true
Size: 457 Bytes
Versions: 21
Compression:
Stored size: 457 Bytes
Contents
class AwesomeTranslations::CachesController < AwesomeTranslations::ApplicationController def index end def create cache_db_generator = AwesomeTranslations::CacheDatabaseGenerator.new(debug: true) if params[:cache] && params[:cache][:type] == "yml" cache_db_generator.cache_yml_translations else cache_db_generator.cache_translations end flash[:notice] = "The cache was updated" redirect_to caches_path end end
Version data entries
21 entries across 21 versions & 1 rubygems