Sha256: 784f0c1951cfd3e62eb5de79ade48846613ab1e0021f77a1a247bf007beb8a83

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

class StaticController < ApplicationController
  def index
  end

  protected
  def static_view
    @static_view ||= StaticView.new(params, items)
  end
  helper_method :static_view

  def items
    index = 0
    [
      "Laura",
      "Edie",
      "Nicolasa",
      "Celinda",
      "Emeline",
      "Dorcas",
      "Josette",
      "Sharell",
      "Carmela",
      "Lou",
      "Felicitas",
      "Stefany",
      "Gidget",
      "Rafaela",
      "Shirlene",
      "Luna",
      "Angila",
      "Pauline",
      "Elba",
      "Maritza",
      "Donte",
      "Clemente",
      "Nella",
      "Delaine",
      "Clark",
      "Majorie",
      "Lance",
      "Tomi",
      "Fidel",
      "Ettie",
      "Claribel",
      "Kylee",
      "Antonietta",
      "Dan",
      "Love",
      "Kandra",
      "Shantell",
      "Matt",
      "Inge",
      "Isaura",
      "Cameron",
      "Elana",
      "Stanton",
      "Tiara",
      "Jeana",
      "Daina",
      "Nikki",
      "Shondra",
      "Chelsey",
      "Jarret"
      ].map { |name|
        Static.new(index += 1, name)
      }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flexirails-0.1.0 test/dummy/app/controllers/static_controller.rb