Sha256: 50fcde9f3915112db80343702fb4bb1cb7e49c5941ae180d3e60449573551aa9

Contents?: true

Size: 402 Bytes

Versions: 6

Compression:

Stored size: 402 Bytes

Contents

require_dependency "dq_admin/application_controller"

module DqAdmin
  class ProductsController < ApplicationController

    def index
      @products = Product.page(params[:page])
    end

    def new
    end

    def create
    end

    def edit
    end

    def update
    end

    def destroy
    end

    private

    def required_params
      params.require(:products).permit()
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dq_admin-0.4.3 app/controllers/dq_admin/products_controller.rb
dq_admin-0.4.2 app/controllers/dq_admin/products_controller.rb
dq_admin-0.4.0 app/controllers/dq_admin/products_controller.rb
dq_admin-0.3.0 app/controllers/dq_admin/products_controller.rb
dq_admin-0.2.0 app/controllers/dq_admin/products_controller.rb
dq_admin-0.1.0 app/controllers/dq_admin/products_controller.rb