Sha256: e7d5841f993b199747107136a0148ea2240de9ebfebea44ea6af6e4868e61b47

Contents?: true

Size: 394 Bytes

Versions: 20

Compression:

Stored size: 394 Bytes

Contents

desc 'Regenerates js routes'
task :jsroutes => :environment do
  JsRoutes.generate!(Rails.root.join('app', 'assets', 'javascripts', 'common', 'routes.js'), :namespace => 'KT.routes', :exclude =>[ /^admin_/])
  JsRoutes.generate!(Rails.root.join('app', 'assets', 'javascripts', 'common', 'bastion-routes.js'), :namespace => 'BASTION.KT.routes', :exclude =>[ /^admin_/], :camel_case => true)
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
katello-3.0.2 lib/katello/tasks/jsroutes.rake
katello-2.4.5 lib/katello/tasks/jsroutes.rake
katello-3.0.1 lib/katello/tasks/jsroutes.rake
katello-2.4.4 lib/katello/tasks/jsroutes.rake
katello-3.0.0 lib/katello/tasks/jsroutes.rake
katello-2.4.3 lib/katello/tasks/jsroutes.rake
katello-3.0.0.rc7 lib/katello/tasks/jsroutes.rake
katello-3.0.0.rc5 lib/katello/tasks/jsroutes.rake
katello-2.4.2 lib/katello/tasks/jsroutes.rake
katello-3.0.0.rc4 lib/katello/tasks/jsroutes.rake
katello-3.0.0.rc3 lib/katello/tasks/jsroutes.rake
katello-3.0.0.rc2 lib/katello/tasks/jsroutes.rake
katello-3.0.0.rc1 lib/katello/tasks/jsroutes.rake
katello-2.4.1 lib/katello/tasks/jsroutes.rake
katello-2.4.0 lib/katello/tasks/jsroutes.rake
katello-2.4.0.rc3 lib/katello/tasks/jsroutes.rake
katello-2.4.0.rc2 lib/katello/tasks/jsroutes.rake
katello-2.4.0.rc1 lib/katello/tasks/jsroutes.rake
katello-2.2.2 lib/katello/tasks/jsroutes.rake
katello-1.5.0 lib/katello/tasks/jsroutes.rake