Sha256: 4988f2e9ea04fdf2ccc9688cad82034e3882046b78f74c38bc4200f9fd58e0dc

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

module Rosetta
  class Locales::DeploysController < ApplicationController
    include LocaleScoped

    def create
      @locale.touch
      flash[:notice] = "#{@locale.name} changes have been deployed."

      redirect_back(fallback_location: locale_translations_path(@locale))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rosetta-rails-0.2.1 app/controllers/rosetta/locales/deploys_controller.rb
rosetta-rails-0.2.0 app/controllers/rosetta/locales/deploys_controller.rb
rosetta-rails-0.1.1 app/controllers/rosetta/locales/deploys_controller.rb