Module: Iceburn::Routes

Defined in:
lib/iceburn/routes.rb

Overview

Extend your ‘config/routes.rb` file with these to ensure that the root path is defined and all HTML requests are proxied to Iceburn.

Instance Method Summary collapse

Instance Method Details

#iceburn_html!Object



5
6
7
8
# File 'lib/iceburn/routes.rb', line 5

def iceburn_html!
  get '/*path' => 'application#index'
  root to: 'application#index'
end