All urls with https except 1 in rails3

Setting up a Rails configuration using config.force_ssl = true works like a charm and does all the urls with https, but is it possible that 1 specific url doesn't have https?

early.

+4
source share
1 answer

See Rails Guides: Secure HTTPS

class ThingsController < ApplicationController force_ssl :except => :index 
+5
source

Source: https://habr.com/ru/post/1391581/


All Articles