Class: Frontpage::ScriptlistingsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Frontpage::ScriptlistingsController
- Defined in:
- app/controllers/phcscriptcdnpro/frontpage/scriptlistings_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
Script Listing Index.
-
#show ⇒ Object
Script Listing Post.
Instance Method Details
#index ⇒ Object
Script Listing Index
10 11 12 |
# File 'app/controllers/phcscriptcdnpro/frontpage/scriptlistings_controller.rb', line 10 def index @script_listings_index = Script::Listing.all end |
#show ⇒ Object
Script Listing Post
15 16 17 |
# File 'app/controllers/phcscriptcdnpro/frontpage/scriptlistings_controller.rb', line 15 def show @script_listings_single = Script::Listing.find(params[:id]) end |