seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.49k stars 996 forks source link

Fix namespace issue for modularized model theme generation. Fix error_span on theme form templates #910

Closed tysonholub closed 11 months ago

tysonholub commented 8 years ago

PR fixes issues when generating themes against a nested model.

For example: rails g bootstrap:themed Admin::Users

Rails.application.routes.draw do
  root to: 'page#index'
  namespace :admin do
    root to: 'admin#index'
    devise_for :users, class_name: "Admin::User", module: :devise
    resources :users
  end
end

PR also includes commit to fix error in form error_span