Sha256: 29b9c7f55e97f25ee569ba690aff35718c8bfb4c070d026ecc702cfbc7408341

Contents?: true

Size: 490 Bytes

Versions: 33

Compression:

Stored size: 490 Bytes

Contents

class MainController < ModelController
  def index
    # Add code for when the index view is loaded
  end

  def about
    # Add code for when the about view is loaded
  end

  private
    # the main template contains a #template binding that shows another
    # template.  This is the path to that template.  It may change based
    # on the params._controller and params._action values.
    def main_path
      params._controller.or('main') + "/" + params._action.or('index')
    end
end

Version data entries

33 entries across 31 versions & 1 rubygems

Version Path
volt-0.8.14 templates/project/app/main/controllers/main_controller.rb
volt-0.8.14 templates/component/controllers/main_controller.rb
volt-0.8.13 templates/project/app/main/controllers/main_controller.rb
volt-0.8.13 templates/component/controllers/main_controller.rb
volt-0.8.11 templates/project/app/main/controllers/main_controller.rb
volt-0.8.10 templates/project/app/main/controllers/main_controller.rb
volt-0.8.9 templates/project/app/main/controllers/main_controller.rb
volt-0.8.8 templates/project/app/main/controllers/main_controller.rb
volt-0.8.7 templates/project/app/main/controllers/main_controller.rb
volt-0.8.6 templates/project/app/main/controllers/main_controller.rb
volt-0.8.5 templates/project/app/main/controllers/main_controller.rb
volt-0.8.4 templates/project/app/main/controllers/main_controller.rb
volt-0.8.3 templates/project/app/main/controllers/main_controller.rb
volt-0.8.2 templates/project/app/main/controllers/main_controller.rb
volt-0.8.1 templates/project/app/main/controllers/main_controller.rb
volt-0.8.0 templates/project/app/main/controllers/main_controller.rb
volt-0.7.23 templates/project/app/main/controllers/main_controller.rb
volt-0.7.22 templates/project/app/main/controllers/main_controller.rb
volt-0.7.21 templates/project/app/main/controllers/main_controller.rb
volt-0.7.20 templates/project/app/main/controllers/main_controller.rb