Sha256: b3fb213c57d1ed5a744d8c1650a80a9d6fc7dfb65f069c851ab07839fa4767f6

Contents?: true

Size: 437 Bytes

Versions: 23

Compression:

Stored size: 437 Bytes

Contents

if Rails::VERSION::MAJOR == 2 && Rails::VERSION::MINOR == 3
  ActionController::Routing.module_eval "remove_const(:Routes); Routes = Usher::Interface.for(:rails2_3)"
elsif Rails::VERSION::MAJOR == 2 && Rails::VERSION::MINOR >= 2
  class Usher::Interface::Rails2_2Interface::Mapper
    include ActionController::Resources
  end
  ActionController::Routing.module_eval "remove_const(:Routes); Routes = Usher::Interface.for(:rails2_2)"
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
joshbuddy-usher-0.4.10 rails/init.rb
joshbuddy-usher-0.4.11 rails/init.rb
joshbuddy-usher-0.4.5 rails/init.rb
joshbuddy-usher-0.4.6 rails/init.rb
joshbuddy-usher-0.4.7 rails/init.rb
joshbuddy-usher-0.4.8 rails/init.rb
joshbuddy-usher-0.5.1 rails/init.rb
joshbuddy-usher-0.5.2 rails/init.rb
joshbuddy-usher-0.5.3 rails/init.rb
joshbuddy-usher-0.5.4 rails/init.rb
joshbuddy-usher-0.5.6 rails/init.rb
joshbuddy-usher-0.5.7 rails/init.rb
usher-0.5.11 rails/init.rb
usher-0.5.10 rails/init.rb
usher-0.5.8 rails/init.rb
usher-0.5.7 rails/init.rb
usher-0.5.6 rails/init.rb
usher-0.5.5 rails/init.rb
usher-0.5.4 rails/init.rb
usher-0.5.3 rails/init.rb