Suite
This commit is contained in:
parent
c0793b1703
commit
b9b036ebc9
@ -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=5&breve=true').read)
|
||||
@articles_rss = JSON.parse(open('https://archivespayre.quartz.xyz/admin/articles/rss.xml?cat_id=5&breve=true').read)
|
||||
|
||||
|
||||
|
||||
|
||||
@breves_rss = JSON.parse(open('https://groupe-payre.fr/admin/articles/rss.xml?cat_id=5').read)
|
||||
@breves_rss = JSON.parse(open('https://archivespayre.quartz.xyz/admin/articles/rss.xml?cat_id=5').read)
|
||||
|
||||
|
||||
|
||||
|
@ -31,7 +31,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,8 @@
|
||||
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