Sha256: aa66caa9973a064c8bee682c244f03fd40caa333dc0b90cf1d67142f72fb7801

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

module Geopolitical
  # Nations Public Controller
  class NationsController < GeopoliticalController
    inherit_resources

    def collection
      @nations = Nation.ordered
    end

    private

    # def permitted_params
    #   params.permit! #require(:nation).permit!
    # end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geopolitical-0.8.3 app/controllers/geopolitical/nations_controller.rb
geopolitical-0.8.2 app/controllers/geopolitical/nations_controller.rb