0.0
No commit activity in last 3 years
No release in over 3 years
WebUI integration library for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.2
 Project Readme

Installation

Gemfile

gem 'rails_webui', '~> 0.0.1'

config/initializers/webui.rb

require 'rails_webui'
Rails.application.config.assets.configure do |env|
  env.context_class.class_eval do
    include Webui::Helper
  end
end

RequireJS helper

app/assets/javascripts/startapp.js.erb

var modules = {};
<%= webui_modules_paths(Rails.root.join(*%w( app assets javascripts modules)), 'app/assets/javascripts') %>