Sha256: b72c35d1481d21f4d14e1b41ccd9fe191f39f747f321a259de316b3d1e709b02

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

Spree::Admin::UsersController.class_eval do
  def avalara_information
    if request.put?
      if @user.update_attributes(user_params)
        flash.now[:success] = Spree.t(:account_updated)
      end
    end

    render :avalara_information
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_avatax_certified-3.0.0 app/controllers/spree/admin/users_controller_decorator.rb
solidus_avatax_certified-2.0.0 app/controllers/spree/admin/users_controller_decorator.rb
solidus_avatax_certified-1.1.0 app/controllers/spree/admin/users_controller_decorator.rb
solidus_avatax_certified-1.0.0 app/controllers/spree/admin/users_controller_decorator.rb