Sha256: 54494462e141fb8139d9d53c58e4adc0a716d32c01140b28bb136a0e25ba8556

Contents?: true

Size: 304 Bytes

Versions: 5

Compression:

Stored size: 304 Bytes

Contents

module Geopolitical
  # Main Geopolitical Controller
  class GeopoliticalController < ActionController::Base
    layout 'geopolitical'

    def index
      @regions = Region.all
      @cities = City.all
    end

    private

    def permitted_params
      # params.permit(:name, :slug)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geopolitical-2.0.0 app/controllers/geopolitical/geopolitical_controller.rb
geopolitical-1.0.5 app/controllers/geopolitical/geopolitical_controller.rb
geopolitical-1.0.3 app/controllers/geopolitical/geopolitical_controller.rb
geopolitical-1.0.2 app/controllers/geopolitical/geopolitical_controller.rb
geopolitical-1.0.0 app/controllers/geopolitical/geopolitical_controller.rb