Sha256: 888f777f030c4445faaaa21b692834b64c4e05df81b4efceea4bf07b913dd0b6
Contents?: true
Size: 456 Bytes
Versions: 9
Compression:
Stored size: 456 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
9 entries across 9 versions & 1 rubygems