fixes in member info

This commit is contained in:
Saurabh Bhatia committed 2014-06-18 20:33:11 +08:00
1 parent a2774033a4
commit 8657977cd7
13 files changed
+51 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
+3
View File
@@ -0,0 +1,3 @@
// Place all the styles related to the members controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -59,7 +59,7 @@ private
end
def info_params
params.require(:info).permit!
params.require(:member_info).permit!
end
protected
+7
View File
@@ -0,0 +1,7 @@
class MembersController < ApplicationController
def index
end
def show
end
end
+2
View File
@@ -0,0 +1,2 @@
module MembersHelper
end
Whitespace-only changes.
Whitespace-only changes.
+2
View File
@@ -0,0 +1,2 @@
<h1>Members#index</h1>
<p>Find me in app/views/members/index.html.erb</p>
+2
View File
@@ -0,0 +1,2 @@
<h1>Members#show</h1>
<p>Find me in app/views/members/show.html.erb</p>
+11
View File
@@ -0,0 +1,11 @@
OrbitApp.registration "Member", type: 'ModuleApp' do
module_label 'member.member'
base_url File.expand_path File.dirname(__FILE__)
version "0.1"
organization "Rulingcom"
author "RD dep"
intro "I am intro"
update_info 'some update_info'
frontend_enabled
end
+2
View File
@@ -162,6 +162,8 @@ Orbit::Application.routes.draw do
end
end
resources :members
resources :sites do
get 'mail_setting'
get 'site_info'
@@ -0,0 +1,14 @@
require 'test_helper'
class MembersControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
test "should get show" do
get :show
assert_response :success
end
end
+4
View File
@@ -0,0 +1,4 @@
require 'test_helper'
class MembersHelperTest < ActionView::TestCase
end