Sha256: 95da5eefd22df7c910a6f9fbb76b49f3bfc0bdfb2d233c6880e57c0e95e69323

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

module ThemesForRails
  module Routes
    def themes_for_rails
      match 'themes/:theme/stylesheets/*asset' => 'themes_for_rails/assets#stylesheets', :as => :base_theme_stylesheet
      match 'themes/:theme/javascripts/*asset' => 'themes_for_rails/assets#javascripts', :as => :base_theme_javascript
      match 'themes/:theme/images/*asset' => 'themes_for_rails/assets#images', :as => :base_theme_image
    end
  end
end
module ActionDispatch::Routing
  class Mapper #:nodoc:
    include ThemesForRails::Routes
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
themes_for_rails-0.4.1 lib/themes_for_rails/routes.rb
themes_for_rails-0.4.0 lib/themes_for_rails/routes.rb
themes_for_rails-0.3.1 lib/themes_for_rails/routes.rb
themes_for_rails-0.3.0 lib/themes_for_rails/routes.rb
themes_for_rails-0.2.5 lib/themes_for_rails/routes.rb
themes_for_rails-0.2.4 lib/themes_for_rails/routes.rb