Registry / web-framework / deface

deface

JSON →
library1.9.0rbrubygemsunverified

Customize ERB, Haml, and Slim views in a Rails application without editing the underlying view files.

gem install deface
INSTALL
IMPORT
SIG · DEFACE
D
deface
web-frameworkrubyv1.9.0
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.

Deface
require 'deface'

Override a Rails view template with custom HTML.

require 'deface' # In a Rails initializer or override: Deface::Override.new(virtual_path: 'products/index', name: 'add_welcome', insert_top: 'h1', text: '<h2>Welcome!</h2>')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.9.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
deface — gem install deface · libregistry