Sha256: 5e9fcd63449e6d717f6eb123804cb6f8192dc3f5f7e4da9ef70a0f9c5ce445df

Contents?: true

Size: 165 Bytes

Versions: 11

Compression:

Stored size: 165 Bytes

Contents

class Controller


  def url_for(options)
    "/#{options[:controller]}/#{options[:action]}/#{options[:id]}"
  end
  
  def base_url
    "http://some.url"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sandboxed_erb-0.4.8 example/controller.rb
sandboxed_erb-0.4.7 example/controller.rb
sandboxed_erb-0.4.6 example/controller.rb
sandboxed_erb-0.4.5 example/controller.rb
sandboxed_erb-0.4.4 example/controller.rb
sandboxed_erb-0.4.3 example/controller.rb
sandboxed_erb-0.4.2 example/controller.rb
sandboxed_erb-0.4.1 example/controller.rb
sandboxed_erb-0.4.0 example/controller.rb
sandboxed_erb-0.3.0 example/controller.rb
sandboxed_erb-0.2.0 example/controller.rb