++ed by:
AWNCORP

1 PAUSE user(s)
1 non-PAUSE user(s).

Uwe Voelker

NAME

Mojolicious::Plugin::BrowserDetect - HTTP::BrowserDetect integration for Mojolicious

VERSION

version 0.003

SYNOPSIS

  # in your App module
  $self->plugin('browser_detect');

  # in your Mojolicious controller
  $self->browser->...

  # e. g. in your root/index action
  if ($self->browser->mobile) {
      return $self->redirect_to('/mobile');
  }

DESCRIPTION

This Mojolicious plugin integrates HTTP::BrowserDetect.

SEE ALSO

HTTP::BrowserDetect

AUTHOR

Uwe Voelker <uwe@uwevoelker.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Uwe Voelker.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.