suite
This commit is contained in:
parent
20bf37fb01
commit
298a4cd583
@ -74,12 +74,12 @@ class Public::MenuItemsController < ApplicationController
|
||||
require 'open-uri'
|
||||
|
||||
|
||||
@articles_rss = JSON.parse(open('https://groupe-payre.fr/admin/articles/rss.xml?cat_id=4').read)
|
||||
@articles_rss = JSON.parse(open('https://archivespayre.quartz.xyz/admin/articles/rss.xml?cat_id=4').read)
|
||||
|
||||
|
||||
|
||||
|
||||
@breves_rss = JSON.parse(open('https://groupe-payre.fr/admin/articles/rss.xml?cat_id=4&breve=true').read)
|
||||
@breves_rss = JSON.parse(open('https://archivespayre.quartz.xyz/admin/articles/rss.xml?cat_id=4&breve=true').read)
|
||||
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ class Contact < ActiveRecord::Base
|
||||
:provenance_id => self.provenance_id
|
||||
}
|
||||
|
||||
api_url = "https://groupe-payre.fr/admin/contacts/api"
|
||||
api_url = "https://archivespayre.quartz.xyz/admin/contacts/api"
|
||||
#api_url ="http://localhost:3030/admin/contacts/api"
|
||||
|
||||
@c = Curl::Easy.new(api_url) do |curl|
|
||||
|
@ -1,6 +1,7 @@
|
||||
Rails.application.configure do
|
||||
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
||||
# Code is not reloaded between requests.
|
||||
config.cache_classes = true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user