added notification controller

This commit is contained in:
pixeldesu 2014-12-09 22:35:11 +01:00
parent bee2404fe3
commit f277b249c2
4 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,4 @@
class NotificationsController < ApplicationController
def index
end
end

View File

@ -0,0 +1,2 @@
module NotificationsHelper
end

View File

@ -0,0 +1,2 @@
<h1>Notifications#index</h1>
<p>Find me in app/views/notifications/index.html.erb</p>

View File

@ -1,5 +1,7 @@
Rails.application.routes.draw do Rails.application.routes.draw do
get 'notifications/index'
root 'static#index' root 'static#index'
match '/about', to: 'static#about', via: 'get' match '/about', to: 'static#about', via: 'get'