Module: MerbUi

Defined in:
lib/merb-ui.rb

Defined Under Namespace

Classes: Application, Messages, Styles

Class Method Summary collapse

Class Method Details

.setup_router(scope) ⇒ Object



15
16
17
18
# File 'lib/merb-ui.rb', line 15

def self.setup_router(scope)
  scope.match('/message').to(:controller => 'messages', :action => 'index').name(:message)
  scope.match('/stylesheets/mui.css').to(:controller => 'styles', :action => 'index')
end