module Legacy class UsersController < Legacy::ApplicationController def show; end # private # # Use callbacks to share common setup or constraints between actions. # def set_district # @district = District.find(params[:id]) # end # # # Never trust parameters from the scary internet, only allow the white list through. # def district_params # params.require(:district).permit(:name, :state_id) # end end end