I need to force SSL on all routes in my application except for landing#index.
landing#index
In config/application.rb, I have:
config/application.rb
You can do it this way:
controller
force_ssl :except => :index
view
supposing your index path name is index_landing_path
<%= link_to 'Landing', index_landing_path, :protocol => 'http' %>