Module: Blacksand::Routing

Defined in:
lib/blacksand/routing.rb

Instance Method Summary collapse

Instance Method Details

#blacksand(path = :p) ⇒ Object



3
4
5
6
7
# File 'lib/blacksand/routing.rb', line 3

def blacksand(path = :p)
  scope module: 'blacksand_front' do
    resources :pages, only: :show, path: path
  end
end