Sha256: 9a90d24b8bc3e7733d3a74e507c63c0fef2f4e6891999c31968eb4b1265b81da
Contents?: true
Size: 239 Bytes
Versions: 2
Compression:
Stored size: 239 Bytes
Contents
module Geopolitical class GeopoliticalController < ActionController::Base layout 'geopolitical' def index @regions = Region.all @cities = City.all end private def permitted_params params.permit! end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geopolitical-0.8.1 | app/controllers/geopolitical/geopolitical_controller.rb |
geopolitical-0.8.0 | app/controllers/geopolitical/geopolitical_controller.rb |