Sha256: 421c4da1c5b97aa0042b4a8a460f4c8615bef14d89a0f490f6d492fd88084c95

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

require 'active_support'
require 'action_controller'

ActionController::Routing::Routes.draw do |map|
  map.connect ':controller/:action/:id'
end

class ApplicationController < ActionController::Base
  protected
  def default_render
    render :text => action_name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
menu_builder-0.3.0 test/support/controllers.rb
menu_builder-0.2.1 test/support/controllers.rb
menu_builder-0.2.0 test/support/controllers.rb