Sha256: b6bc664eb3bedc6ac26fb641282c6c5b38eb8b882a4d1d4ac5dbf64b8e02173f

Contents?: true

Size: 735 Bytes

Versions: 24

Compression:

Stored size: 735 Bytes

Contents

module C80Yax
  class AdminDataController < ApplicationController

    # http://stackoverflow.com/questions/5130150/rails-how-to-use-a-helper-inside-a-controller
    include DataHelper

    def get_strsubcat_propnames
      Rails.logger.debug '[TRACE] <admin_data_controller.get_strsubcat_propnames> Получить список имён свойств данной подкатегории.'
      Rails.logger.debug "[TRACE] <admin_data_controller.get_strsubcat_propnames> request: #{request.request_parameters}"

      strsubcat_id = request.params[:strsubcat_id]

      obj = stdh_get_strsubcat_propnames(strsubcat_id)

      respond_to do |format|
        format.js { render json: obj, status: :ok }
      end

    end

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.24 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.23 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.22 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.21 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.20 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.18 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.17 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.16 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.15 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.14 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.13 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.12 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.11 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.10 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.9 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.8 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.7 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.6 app/controllers/c80_yax/admin_data_controller.rb
c80_yax-0.1.0.5 app/controllers/c80_yax/admin_data_controller.rb