Reputation: 1281
Rails config setting using config.force_ssl = true works like a charm and made all urls with https, but is it possible to have 1 specific url not to have https?
thanks in advance.
Upvotes: 4
Views: 1997
Reputation: 4429
See Rails Guides: Force HTTPS Protocol
class ThingsController < ApplicationController
force_ssl :except => :index
Upvotes: 5