Registry / web-framework / mobylette

mobylette

JSON →
library3.4.1rbrubygemsunverified

Adds the mobile format for rendering views for mobile devices in Rails.

gem install mobylette
INSTALL
IMPORT
SIG · MOBYLETTE
M
mobylette
web-frameworkrubyv3.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mobylette
require 'mobylette'

Enable mobile view rendering in Rails

require 'mobylette' # In Rails controller class ApplicationController < ActionController::Base include Mobylette::RespondToMobileRequests # Automatically respond with mobile views def index # renders index.mobile.erb if mobile device end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.4.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mobylette — gem install mobylette · libregistry